PyDocs

Nav

Generic Operating System Services

PYFUNCTYPE

ctypes

function (source)
  • PYFUNCTYPE(restype, *argtypes)
The returned function prototype creates functions that use the Python calling convention. Unlike CFUNCTYPE() and WINFUNCTYPE(), ctypes does not release the GIL before calling the foreign function, so the function may safely use the Python C API. Note that this does not prevent the GIL from being released during the call.
0 Examples
No examples for ctypes/PYFUNCTYPE.
See Also
No see-alsos for ctypes/PYFUNCTYPE
0 Notes
No notes for PYFUNCTYPE