| |
- buildFunction(functionType, name, dll)
- Abstract away the ctypes function-creation operation
- loadLibrary(dllType, name, mode=256)
- Load a given library by name with the given mode
dllType -- the standard ctypes pointer to a dll type, such as
ctypes.cdll or ctypes.windll or the underlying ctypes.CDLL or
ctypes.WinDLL classes.
name -- a short module name, e.g. 'GL' or 'GLU'
mode -- ctypes.RTLD_GLOBAL or ctypes.RTLD_LOCAL,
controls whether the module resolves names via other
modules already loaded into this process. GL modules
generally need to be loaded with GLOBAL flags
returns the ctypes C-module object
|