{
    "content": [
        {
            "type": "text",
            "text": "# ctypes (pydoc)\n\n**Summary:** ctypes - create and manipulate C data types in Python\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **MODULE REFERENCE** (8 lines)\n- **PACKAGE CONTENTS** (5 lines)\n- **CLASSES** (26 lines) — 22 subsections\n  - class ArgumentError (67 lines)\n  - class CDLL (36 lines)\n  - class LibraryLoader (30 lines)\n  - class PyDLL (32 lines)\n  - class c_bool (51 lines)\n  - class c_byte (58 lines)\n  - class c_char (58 lines)\n  - class c_char_p (60 lines)\n  - class c_double (58 lines)\n  - class c_float (58 lines)\n  - class c_int (294 lines)\n  - class c_long (58 lines)\n  - class c_longdouble (110 lines)\n  - class c_short (176 lines)\n  - class c_ubyte (58 lines)\n  - class c_uint (294 lines)\n  - class c_ulong (117 lines)\n  - class c_ushort (58 lines)\n  - class c_void_p (115 lines)\n  - class c_wchar (51 lines)\n  - class c_wchar_p (60 lines)\n  - class py_object (54 lines)\n- **FUNCTIONS** (26 lines) — 14 subsections\n  - addressof (3 lines)\n  - alignment (4 lines)\n  - byref (4 lines)\n  - c_buffer (1 lines)\n  - cast (1 lines)\n  - create_string_buffer (4 lines)\n  - create_unicode_buffer (4 lines)\n  - get_errno (1 lines)\n  - pointer (1 lines)\n  - resize (2 lines)\n  - set_errno (1 lines)\n  - sizeof (4 lines)\n  - string_at (4 lines)\n  - wstring_at (4 lines)\n- **DATA** (9 lines)\n- **VERSION** (2 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\nctypes - create and manipulate C data types in Python\n\n### MODULE REFERENCE\n\nhttps://docs.python.org/3.10/library/ctypes.html\n\nThe following documentation is automatically generated from the Python\nsource files.  It may be incomplete, incorrect or include features that\nare considered implementation detail and may vary between Python\nimplementations.  When in doubt, consult the module reference at the\nlocation listed above.\n\n### PACKAGE CONTENTS\n\naix\nendian\nutil\nwintypes\n\n### CLASSES\n\nctypes.SimpleCData(ctypes.CData)\ncbool\ncbyte\ncchar\nccharp\ncdouble\ncfloat\ncint\nclong\nclongdouble\ncshort\ncubyte\ncuint\nculong\ncushort\ncvoidp\ncwchar\ncwcharp\npyobject\nbuiltins.Exception(builtins.BaseException)\nArgumentError\nbuiltins.object\nCDLL\nPyDLL\nLibraryLoader\n\n#### class ArgumentError\n\n|  Method resolution order:\n|      ArgumentError\n|      builtins.Exception\n|      builtins.BaseException\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from builtins.Exception:\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from builtins.Exception:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from builtins.BaseException:\n|\n|  delattr(self, name, /)\n|      Implement delattr(self, name).\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  setattr(self, name, value, /)\n|      Implement setattr(self, name, value).\n|\n|  setstate(...)\n|\n|  str(self, /)\n|      Return str(self).\n|\n|  withtraceback(...)\n|      Exception.withtraceback(tb) --\n|      set self.traceback to tb and return self.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from builtins.BaseException:\n|\n|  cause\n|      exception cause\n|\n|  context\n|      exception context\n|\n|  dict\n|\n|  suppresscontext\n|\n|  traceback\n|\n|  args\n\n#### class CDLL\n\n|  CDLL(name, mode=0, handle=None, useerrno=False, uselasterror=False, winmode=None)\n|\n|  An instance of this class represents a loaded dll/shared\n|  library, exporting functions using the standard C calling\n|  convention (named 'cdecl' on Windows).\n|\n|  The exported functions can be accessed as attributes, or by\n|  indexing with the function name.  Examples:\n|\n|  <obj>.qsort -> callable object\n|  <obj>['qsort'] -> callable object\n|\n|  Calling the functions releases the Python GIL during the call and\n|  reacquires it afterwards.\n|\n|  Methods defined here:\n|\n|  getattr(self, name)\n|\n|  getitem(self, nameorordinal)\n|\n|  init(self, name, mode=0, handle=None, useerrno=False, uselasterror=False, winmode=None)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n\n#### class LibraryLoader\n\n|  LibraryLoader(dlltype)\n|\n|  Methods defined here:\n|\n|  LoadLibrary(self, name)\n|\n|  getattr(self, name)\n|\n|  getitem(self, name)\n|\n|  init(self, dlltype)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Class methods defined here:\n|\n|  classgetitem = GenericAlias(...) from builtins.type\n|      Represent a PEP 585 generic type\n|\n|      E.g. for t = list[int], t.origin is list and t.args is (int,).\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n\n#### class PyDLL\n\n|  PyDLL(name, mode=0, handle=None, useerrno=False, uselasterror=False, winmode=None)\n|\n|  This class represents the Python library itself.  It allows\n|  accessing Python API functions.  The GIL is not released, and\n|  Python exceptions are handled correctly.\n|\n|  Method resolution order:\n|      PyDLL\n|      CDLL\n|      builtins.object\n|\n|  Methods inherited from CDLL:\n|\n|  getattr(self, name)\n|\n|  getitem(self, nameorordinal)\n|\n|  init(self, name, mode=0, handle=None, useerrno=False, uselasterror=False, winmode=None)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from CDLL:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n\n#### class c_bool\n\n|  Method resolution order:\n|      cbool\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_byte\n\n|  Method resolution order:\n|      cbyte\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cbyte'>\n|\n|  ctypele = <class 'ctypes.cbyte'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_char\n\n|  Method resolution order:\n|      cchar\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cchar'>\n|\n|  ctypele = <class 'ctypes.cchar'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_char_p\n\n|  Method resolution order:\n|      ccharp\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Methods defined here:\n|\n|  repr(self)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Class methods defined here:\n|\n|  fromparam(...) from ctypes.PyCSimpleType\n|      Convert a Python object into a function call parameter.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_double\n\n|  Method resolution order:\n|      cdouble\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cdouble'>\n|\n|  ctypele = <class 'ctypes.cdouble'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_float\n\n|  Method resolution order:\n|      cfloat\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cfloat'>\n|\n|  ctypele = <class 'ctypes.cfloat'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_int\n\n|  Method resolution order:\n|      cint\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cint'>\n|\n|  ctypele = <class 'ctypes.cint'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\ncint16 = class cshort(ctypes.SimpleCData)\n|  Method resolution order:\n|      cshort\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cshort'>\n|\n|  ctypele = <class 'ctypes.cshort'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\ncint32 = class cint(ctypes.SimpleCData)\n|  Method resolution order:\n|      cint\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cint'>\n|\n|  ctypele = <class 'ctypes.cint'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\ncint64 = class clong(ctypes.SimpleCData)\n|  Method resolution order:\n|      clong\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.clong'>\n|\n|  ctypele = <class 'ctypes.clong'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\ncint8 = class cbyte(ctypes.SimpleCData)\n|  Method resolution order:\n|      cbyte\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cbyte'>\n|\n|  ctypele = <class 'ctypes.cbyte'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_long\n\n|  Method resolution order:\n|      clong\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.clong'>\n|\n|  ctypele = <class 'ctypes.clong'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_longdouble\n\n|  Method resolution order:\n|      clongdouble\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\nclonglong = class clong(ctypes.SimpleCData)\n|  Method resolution order:\n|      clong\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.clong'>\n|\n|  ctypele = <class 'ctypes.clong'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_short\n\n|  Method resolution order:\n|      cshort\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cshort'>\n|\n|  ctypele = <class 'ctypes.cshort'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\ncsizet = class culong(ctypes.SimpleCData)\n|  Method resolution order:\n|      culong\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.culong'>\n|\n|  ctypele = <class 'ctypes.culong'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\ncssizet = class clong(ctypes.SimpleCData)\n|  Method resolution order:\n|      clong\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.clong'>\n|\n|  ctypele = <class 'ctypes.clong'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_ubyte\n\n|  Method resolution order:\n|      cubyte\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cubyte'>\n|\n|  ctypele = <class 'ctypes.cubyte'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_uint\n\n|  Method resolution order:\n|      cuint\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cuint'>\n|\n|  ctypele = <class 'ctypes.cuint'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\ncuint16 = class cushort(ctypes.SimpleCData)\n|  Method resolution order:\n|      cushort\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cushort'>\n|\n|  ctypele = <class 'ctypes.cushort'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\ncuint32 = class cuint(ctypes.SimpleCData)\n|  Method resolution order:\n|      cuint\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cuint'>\n|\n|  ctypele = <class 'ctypes.cuint'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\ncuint64 = class culong(ctypes.SimpleCData)\n|  Method resolution order:\n|      culong\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.culong'>\n|\n|  ctypele = <class 'ctypes.culong'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\ncuint8 = class cubyte(ctypes.SimpleCData)\n|  Method resolution order:\n|      cubyte\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cubyte'>\n|\n|  ctypele = <class 'ctypes.cubyte'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_ulong\n\n|  Method resolution order:\n|      culong\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.culong'>\n|\n|  ctypele = <class 'ctypes.culong'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\nculonglong = class culong(ctypes.SimpleCData)\n|  Method resolution order:\n|      culong\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.culong'>\n|\n|  ctypele = <class 'ctypes.culong'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_ushort\n\n|  Method resolution order:\n|      cushort\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  ctypebe = <class 'ctypes.cushort'>\n|\n|  ctypele = <class 'ctypes.cushort'>\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_void_p\n\n|  Method resolution order:\n|      cvoidp\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Class methods defined here:\n|\n|  fromparam(...) from ctypes.PyCSimpleType\n|      Convert a Python object into a function call parameter.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\ncvoidp = class cvoidp(ctypes.SimpleCData)\n|  Method resolution order:\n|      cvoidp\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Class methods defined here:\n|\n|  fromparam(...) from ctypes.PyCSimpleType\n|      Convert a Python object into a function call parameter.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_wchar\n\n|  Method resolution order:\n|      cwchar\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class c_wchar_p\n\n|  Method resolution order:\n|      cwcharp\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Methods defined here:\n|\n|  repr(self)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Class methods defined here:\n|\n|  fromparam(...) from ctypes.PyCSimpleType\n|      Convert a Python object into a function call parameter.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n#### class py_object\n\n|  Method resolution order:\n|      pyobject\n|      ctypes.SimpleCData\n|      ctypes.CData\n|      builtins.object\n|\n|  Methods defined here:\n|\n|  repr(self)\n|      Return repr(self).\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.SimpleCData:\n|\n|  bool(self, /)\n|      True if self else False\n|\n|  ctypesfromoutparam(...)\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from ctypes.SimpleCData:\n|\n|  new(*args, kwargs) from ctypes.PyCSimpleType\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from ctypes.SimpleCData:\n|\n|  value\n|      current value\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from ctypes.CData:\n|\n|  hash(self, /)\n|      Return hash(self).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  setstate(...)\n\n### FUNCTIONS\n\nARRAY(typ, len)\n# XXX Deprecated\n\nCFUNCTYPE(restype, *argtypes, kw)\nCFUNCTYPE(restype, *argtypes,\nuseerrno=False, uselasterror=False) -> function prototype.\n\nrestype: the result type\nargtypes: a sequence specifying the argument types\n\nThe function prototype can be called in different ways to create a\ncallable object:\n\nprototype(integer address) -> foreign function\nprototype(callable) -> create and return a C callable function from callable\nprototype(integer index, method name[, paramflags]) -> foreign function calling a COM method\nprototype((ordinal number, dll object)[, paramflags]) -> foreign function exported by ordinal\nprototype((function name, dll object)[, paramflags]) -> foreign function exported by name\n\nPOINTER(...)\n\nPYFUNCTYPE(restype, *argtypes)\n\nSetPointerType(pointer, cls)\n# XXX Deprecated\n\n#### addressof\n\naddressof(C instance) -> integer\nReturn the address of the C instance internal buffer\n\n#### alignment\n\nalignment(C type) -> integer\nalignment(C instance) -> integer\nReturn the alignment requirements of a C instance\n\n#### byref\n\nbyref(C instance[, offset=0]) -> byref-object\nReturn a pointer lookalike to a C instance, only usable\nas function argument\n\n#### c_buffer\n\n#### cast\n\n#### create_string_buffer\n\ncreatestringbuffer(aBytes) -> character array\ncreatestringbuffer(anInteger) -> character array\ncreatestringbuffer(aBytes, anInteger) -> character array\n\n#### create_unicode_buffer\n\ncreateunicodebuffer(aString) -> character array\ncreateunicodebuffer(anInteger) -> character array\ncreateunicodebuffer(aString, anInteger) -> character array\n\n#### get_errno\n\n#### pointer\n\n#### resize\n\nResize the memory buffer of a ctypes instance\n\n#### set_errno\n\n#### sizeof\n\nsizeof(C type) -> integer\nsizeof(C instance) -> integer\nReturn the size in bytes of a C instance\n\n#### string_at\n\nstringat(addr[, size]) -> string\n\nReturn the string at addr.\n\n#### wstring_at\n\nwstringat(addr[, size]) -> string\n\nReturn the string at addr.\n\n### DATA\n\nDEFAULTMODE = 0\nRTLDGLOBAL = 256\nRTLDLOCAL = 0\ncdll = <ctypes.LibraryLoader object>\nmemmove = <CFunctionType object>\nmemset = <CFunctionType object>\npydll = <ctypes.LibraryLoader object>\npythonapi = <PyDLL 'None', handle 7f5a425602e0>\n\n### VERSION\n\n1.1.0\n\n### FILE\n\n/usr/lib/python3.10/ctypes/init.py\n\n"
        }
    ],
    "structuredContent": {
        "command": "ctypes",
        "section": "",
        "mode": "pydoc",
        "summary": "ctypes - create and manipulate C data types in Python",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "MODULE REFERENCE",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "PACKAGE CONTENTS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "CLASSES",
                "lines": 26,
                "subsections": [
                    {
                        "name": "class ArgumentError",
                        "lines": 67
                    },
                    {
                        "name": "class CDLL",
                        "lines": 36
                    },
                    {
                        "name": "class LibraryLoader",
                        "lines": 30
                    },
                    {
                        "name": "class PyDLL",
                        "lines": 32
                    },
                    {
                        "name": "class c_bool",
                        "lines": 51
                    },
                    {
                        "name": "class c_byte",
                        "lines": 58
                    },
                    {
                        "name": "class c_char",
                        "lines": 58
                    },
                    {
                        "name": "class c_char_p",
                        "lines": 60
                    },
                    {
                        "name": "class c_double",
                        "lines": 58
                    },
                    {
                        "name": "class c_float",
                        "lines": 58
                    },
                    {
                        "name": "class c_int",
                        "lines": 294
                    },
                    {
                        "name": "class c_long",
                        "lines": 58
                    },
                    {
                        "name": "class c_longdouble",
                        "lines": 110
                    },
                    {
                        "name": "class c_short",
                        "lines": 176
                    },
                    {
                        "name": "class c_ubyte",
                        "lines": 58
                    },
                    {
                        "name": "class c_uint",
                        "lines": 294
                    },
                    {
                        "name": "class c_ulong",
                        "lines": 117
                    },
                    {
                        "name": "class c_ushort",
                        "lines": 58
                    },
                    {
                        "name": "class c_void_p",
                        "lines": 115
                    },
                    {
                        "name": "class c_wchar",
                        "lines": 51
                    },
                    {
                        "name": "class c_wchar_p",
                        "lines": 60
                    },
                    {
                        "name": "class py_object",
                        "lines": 54
                    }
                ]
            },
            {
                "name": "FUNCTIONS",
                "lines": 26,
                "subsections": [
                    {
                        "name": "addressof",
                        "lines": 3
                    },
                    {
                        "name": "alignment",
                        "lines": 4
                    },
                    {
                        "name": "byref",
                        "lines": 4
                    },
                    {
                        "name": "c_buffer",
                        "lines": 1
                    },
                    {
                        "name": "cast",
                        "lines": 1
                    },
                    {
                        "name": "create_string_buffer",
                        "lines": 4
                    },
                    {
                        "name": "create_unicode_buffer",
                        "lines": 4
                    },
                    {
                        "name": "get_errno",
                        "lines": 1
                    },
                    {
                        "name": "pointer",
                        "lines": 1
                    },
                    {
                        "name": "resize",
                        "lines": 2
                    },
                    {
                        "name": "set_errno",
                        "lines": 1
                    },
                    {
                        "name": "sizeof",
                        "lines": 4
                    },
                    {
                        "name": "string_at",
                        "lines": 4
                    },
                    {
                        "name": "wstring_at",
                        "lines": 4
                    }
                ]
            },
            {
                "name": "DATA",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}