Package ctypes :: Class CDLL
[hide private]
[frames] | no frames]

type CDLL

object --+
Known Subclasses:

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

Calling the functions releases the Python GIL during the call and reaquires it afterwards.

Nested Classes [hide private]
Instance Methods [hide private]
__init__(self, name, mode=0, handle=None)
__getattr__(self, name)
__getitem__(self, name_or_ordinal)
Method Details [hide private]

__init__(self, name, mode=0, handle=None)

Overrides: object.__init__
(inherited documentation)

(Representation operator)

Overrides: object.__repr__
(inherited documentation)