gptkbp:instanceOf
|
gptkb:software
|
gptkbp:allows
|
access to C data types
calling functions in DLLs or shared libraries
defining C compatible data types in Python
loading shared libraries
|
gptkbp:alternativeTo
|
gptkb:SWIG
gptkb:cffi
cython
|
gptkbp:author
|
gptkb:Thomas_Heller
|
gptkbp:canBe
|
gptkb:CPython
|
gptkbp:cannotBeUsedWith
|
PyPy (limited support)
|
gptkbp:category
|
Foreign function interface
Interfacing with C
|
gptkbp:documentation
|
https://docs.python.org/3/library/ctypes.html
|
gptkbp:feature
|
error checking
array support
automatic type conversion
access to C enums
access to C structs
access to C unions
callback support
pointer support
structure and union support
|
https://www.w3.org/2000/01/rdf-schema#label
|
Python ctypes
|
gptkbp:introducedIn
|
gptkb:Python_2.5
|
gptkbp:license
|
gptkb:Python_Software_Foundation_License
|
gptkbp:partOf
|
gptkb:Python_standard_library
|
gptkbp:supports
|
gptkb:Windows
gptkb:macOS
gptkb:Linux
|
gptkbp:usedFor
|
calling C functions from Python
|
gptkbp:bfsParent
|
gptkb:Foreign_Function_Interface
gptkb:foreign_function_interface_(FFI)
|
gptkbp:bfsLayer
|
7
|