This page is not complete.
Library object represents a native library loaded by the ctypes
open() method. Its methods let you declare symbols exported by the library, and to manage the library.
Closes the library. You need to call this once you're done using the library.
CData declare( name[, abi, returnType argType1, ...] );
The ABI used by the exported function; this will be
ctypes.default_abifor most libraries, except for Windows libraries, which will be
ctypes.stdcall_abi. See ABI constants. You don't need to provide this for exported data; it's only needed for function declarations.
- The data type returned by the defined API, if it's a function. This parameter should not be provided if the API is an exported data symbol. For supported data types, see Data types.
- Zero or more parameter types may be specified for the parameters of the function being declared. These should not be provided if the API is an exported data symbol rather than a function. For supported data types, see Data types.
CData object representing the declared API.
- The return type was specified as an array.