Describes a mutable ctypes status-returning function object.
More...
Inherits Protocol.
Static Public Attributes | |
| Sequence | argtypes [object] | None |
Holds the declared ctypes argument conversions. | |
| object | restype |
Holds the declared ctypes return conversion. | |
| Callable | errcheck [[int, "_StatusFunction", tuple[object, ...]], int] | None |
| Holds the callback that validates each converted return value. | |
Describes a mutable ctypes status-returning function object.
configure_status_function() uses this structural protocol to assign the function's argument types, integer return type, and error callback without depending on a concrete private ctypes function class.