# 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): """ Abstract base class for arrays. The recommended way to create concrete array types is by multiplying any ctypes data type with a non-negative integer. Alternatively, you can subclass this type and define _length_ and _type_ class variables. Array elements can be read and written using standard subscript and slice accesses for slice reads, the resulting object is not itself an Array. """ def __init__(self, *args, **kwargs): 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 CTYPES_MAX_ARGCOUNT = 1024 FUNCFLAG_CDECL = 1 FUNCFLAG_PYTHONAPI = 4 FUNCFLAG_USE_ERRNO = 8 FUNCFLAG_USE_LASTERROR = 16 def POINTER(type): """ Create and return a new ctypes pointer type. type A ctypes type. Pointer types are cached and reused internally, so calling this function repeatedly is cheap. """ pass def PyObj_FromPtr(): pass def Py_DECREF(object): pass def Py_INCREF(object): pass RTLD_GLOBAL = 8 RTLD_LOCAL = 4 SIZEOF_TIME_T = 8 class Structure(_CData): """ Structure base class """ def __init__(self, *args, **kwargs): pass class Union(_CData): """ Union base class """ def __init__(self, *args, **kwargs): pass class _Pointer(_CData): """ XXX to be provided """ def __init__(self, *args, **kwargs): pass contents = property(None, None, None, """ the object this pointer points to (read-write) """ ) class _SimpleCData(_CData): """ XXX to be provided """ def __init__(self, *args, **kwargs): pass value = property(None, None, None, """ current value """ ) __doc__ = 'Create and manipulate C compatible data types in Python.' __file__ = '/Users/Shared/build/ide/build-files/build-temp/runtimes-release/__os__/macos/runtime-python3.13/lib/Python.framework/Versions/3.13/lib/python3.13/lib-dynload/_ctypes.cpython-313-darwin.so' __loader__ = None __name__ = '_ctypes' __package__ = '' __spec__ = None __version__ = '1.1.0' _cast_addr = 1 def _dyld_shared_cache_contains_path(): """ check if path is in the shared cache """ pass _memmove_addr = 1 _memset_addr = 1 _pointer_type_cache = {} _string_at_addr = 1 def _unpickle(): pass _wstring_at_addr = 1 def addressof(object): """ addressof(C instance) -> integer Return the address of the C instance internal buffer """ return 1 def alignment(object): """ alignment(C type) -> integer alignment(C instance) -> integer Return the alignment requirements of a C instance """ return 1 def buffer_info(object): """ 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(obj): """ Create a new pointer instance, pointing to 'obj'. The returned object is of the type POINTER(type(obj)). Note that if you just want to pass a pointer to an object to a foreign function call, you should use byref(obj) which is much faster. """ pass def resize(): """ Resize the memory buffer of a ctypes instance """ pass def set_errno(): pass def sizeof(object): """ sizeof(C type) -> integer sizeof(C instance) -> integer Return the size in bytes of a C instance """ return 1