1 | 2 | 3 | 4 | 5 Next
1 | 2 | 3 | 4 | 5 Next
All Samples(4622) | Call(4188) | Derive(0) | Import(434)
byref(C instance[, offset=0]) -> byref-object Return a pointer lookalike to a C instance, only usable as function argument
All Samples(2328) | Call(2290) | Derive(0) | Import(38)
CFUNCTYPE(restype, *argtypes,
use_errno=False, use_last_error=False) -> function prototype.
restype: the result type
argtypes: a sequence specifying the argument types
The function prototype can be called in different ways to create a
callable object:
prototype(integer address) -> foreign function(more...)
All Samples(1075) | Call(464) | Derive(1) | Import(610)
An instance of this class represents a loaded dll/shared library, exporting functions using the standard C calling convention (named 'cdecl' on Windows). The exported functions can be accessed as attributes, or by indexing with the function name. Examples: <obj>.qsort -> callable object <obj>['qsort'] -> callable object (more...)
All Samples(1001) | Call(915) | Derive(0) | Import(86)
sizeof(C type) -> integer sizeof(C instance) -> integer Return the size in bytes of a C instance
All Samples(777) | Call(709) | Derive(0) | Import(68)
create_string_buffer(aString) -> character array create_string_buffer(anInteger) -> character array create_string_buffer(aString, anInteger) -> character array
All Samples(510) | Call(510) | Derive(0) | Import(0)
set_conversion_mode(encoding, errors) -> (previous-encoding, previous-errors) Set the encoding and error handling ctypes uses when converting between unicode and strings. Returns the previous values.
1 | 2 | 3 | 4 | 5 Next