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

type CDLL

object --+
         |
        CDLL
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]
_FuncPtr
Instance Methods [hide private]
 
__init__(self, name, mode=0, handle=None)
 
__repr__(self)
 
__getattr__(self, name)
 
__getitem__(self, name_or_ordinal)
Method Details [hide private]

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

 
Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

 
Overrides: object.__repr__
(inherited documentation)