# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ Create and manipulate C compatible data types in Python. """ class ArgumentError(Exception): pass class Array(_CData): """ XXX to be provided """ def __init__(self): pass class CFuncPtr(_CData): """ Function Pointer """ argtypes = property(None, None, None, """ specify the argument types """ ) errcheck = property(None, None, None, """ a function to check for errors """ ) restype = property(None, None, None, """ specify the result type """ ) pass FUNCFLAG_CDECL = 1 FUNCFLAG_PYTHONAPI = 4 FUNCFLAG_USE_ERRNO = 8 FUNCFLAG_USE_LASTERROR = 16 def POINTER(): pass def PyObj_FromPtr(): pass def Py_DECREF(): pass def Py_INCREF(): pass RTLD_GLOBAL = 8 RTLD_LOCAL = 4 class Structure(_CData): """ Structure base class """ def __init__(self): pass class Union(_CData): """ Union base class """ def __init__(self): pass class _Pointer(_CData): """ XXX to be provided """ def __init__(self): pass contents = property(None, None, None, """ the object this pointer points to (read-write) """ ) class _SimpleCData(_CData): """ XXX to be provided """ def __init__(self): pass value = property(None, None, None, """ current value """ ) __doc__ = 'Create and manipulate C compatible data types in Python.' __file__ = '/Users/Shared/src/ide/build-files/build-temp/runtimes-release/__os__/osx/runtime-python3.3/lib/Python.framework/Versions/Current/lib/python3.3/lib-dynload/_ctypes.so' __loader__ = None __name__ = '_ctypes' __package__ = '' __version__ = '1.1.0' _cast_addr = 1 _memmove_addr = 1 _memset_addr = 1 _pointer_type_cache = {} _string_at_addr = 1 def _unpickle(): pass _wstring_at_addr = 1 def addressof(arg0): """ addressof(C instance) -> integer Return the address of the C instance internal buffer """ return 1 def alignment(arg0): """ alignment(C type) -> integer alignment(C instance) -> integer Return the alignment requirements of a C instance """ return 1 def buffer_info(): """ Return buffer interface information """ pass def byref(arg0, offset=0): """ byref(C instance[, offset=0]) -> byref-object Return a pointer lookalike to a C instance, only usable as function argument """ return None def call_cdeclfunction(): pass def call_function(): pass def dlclose(): """ dlclose a library """ pass def dlopen(): """ dlopen(name, flag={RTLD_GLOBAL|RTLD_LOCAL}) open a shared library """ pass def dlsym(): """ find symbol in shared library """ pass def get_errno(): pass def pointer(): pass def resize(): """ Resize the memory buffer of a ctypes instance """ pass def set_errno(): pass def sizeof(arg0): """ sizeof(C type) -> integer sizeof(C instance) -> integer Return the size in bytes of a C instance """ return 1