{
    "mode": "pydoc",
    "parameter": "ctypes",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/pydoc/ctypes/json",
    "generated": "2026-06-02T15:50:33Z",
    "sections": {
        "NAME": {
            "content": "ctypes - create and manipulate C data types in Python\n",
            "subsections": []
        },
        "MODULE REFERENCE": {
            "content": "https://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",
            "subsections": []
        },
        "PACKAGE CONTENTS": {
            "content": "aix\nendian\nutil\nwintypes\n",
            "subsections": []
        },
        "CLASSES": {
            "content": "ctypes.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",
            "subsections": [
                {
                    "name": "class ArgumentError",
                    "content": "|  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"
                },
                {
                    "name": "class CDLL",
                    "content": "|  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"
                },
                {
                    "name": "class LibraryLoader",
                    "content": "|  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"
                },
                {
                    "name": "class PyDLL",
                    "content": "|  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"
                },
                {
                    "name": "class c_bool",
                    "content": "|  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"
                },
                {
                    "name": "class c_byte",
                    "content": "|  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"
                },
                {
                    "name": "class c_char",
                    "content": "|  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"
                },
                {
                    "name": "class c_char_p",
                    "content": "|  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"
                },
                {
                    "name": "class c_double",
                    "content": "|  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"
                },
                {
                    "name": "class c_float",
                    "content": "|  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"
                },
                {
                    "name": "class c_int",
                    "content": "|  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"
                },
                {
                    "name": "class c_long",
                    "content": "|  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"
                },
                {
                    "name": "class c_longdouble",
                    "content": "|  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"
                },
                {
                    "name": "class c_short",
                    "content": "|  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"
                },
                {
                    "name": "class c_ubyte",
                    "content": "|  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"
                },
                {
                    "name": "class c_uint",
                    "content": "|  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"
                },
                {
                    "name": "class c_ulong",
                    "content": "|  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"
                },
                {
                    "name": "class c_ushort",
                    "content": "|  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"
                },
                {
                    "name": "class c_void_p",
                    "content": "|  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"
                },
                {
                    "name": "class c_wchar",
                    "content": "|  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"
                },
                {
                    "name": "class c_wchar_p",
                    "content": "|  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"
                },
                {
                    "name": "class py_object",
                    "content": "|  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"
                }
            ]
        },
        "FUNCTIONS": {
            "content": "ARRAY(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",
            "subsections": [
                {
                    "name": "addressof",
                    "content": "addressof(C instance) -> integer\nReturn the address of the C instance internal buffer\n"
                },
                {
                    "name": "alignment",
                    "content": "alignment(C type) -> integer\nalignment(C instance) -> integer\nReturn the alignment requirements of a C instance\n"
                },
                {
                    "name": "byref",
                    "content": "byref(C instance[, offset=0]) -> byref-object\nReturn a pointer lookalike to a C instance, only usable\nas function argument\n"
                },
                {
                    "name": "c_buffer",
                    "content": ""
                },
                {
                    "name": "cast",
                    "content": ""
                },
                {
                    "name": "create_string_buffer",
                    "content": "createstringbuffer(aBytes) -> character array\ncreatestringbuffer(anInteger) -> character array\ncreatestringbuffer(aBytes, anInteger) -> character array\n"
                },
                {
                    "name": "create_unicode_buffer",
                    "content": "createunicodebuffer(aString) -> character array\ncreateunicodebuffer(anInteger) -> character array\ncreateunicodebuffer(aString, anInteger) -> character array\n"
                },
                {
                    "name": "get_errno",
                    "content": ""
                },
                {
                    "name": "pointer",
                    "content": ""
                },
                {
                    "name": "resize",
                    "content": "Resize the memory buffer of a ctypes instance\n"
                },
                {
                    "name": "set_errno",
                    "content": ""
                },
                {
                    "name": "sizeof",
                    "content": "sizeof(C type) -> integer\nsizeof(C instance) -> integer\nReturn the size in bytes of a C instance\n"
                },
                {
                    "name": "string_at",
                    "content": "stringat(addr[, size]) -> string\n\nReturn the string at addr.\n"
                },
                {
                    "name": "wstring_at",
                    "content": "wstringat(addr[, size]) -> string\n\nReturn the string at addr.\n"
                }
            ]
        },
        "DATA": {
            "content": "DEFAULTMODE = 0\nRTLDGLOBAL = 256\nRTLDLOCAL = 0\ncdll = <ctypes.LibraryLoader object>\nmemmove = <CFunctionType object>\nmemset = <CFunctionType object>\npydll = <ctypes.LibraryLoader object>\npythonapi = <PyDLL 'None', handle 7f50a5b9e2e0>\n",
            "subsections": []
        },
        "VERSION": {
            "content": "1.1.0\n",
            "subsections": []
        },
        "FILE": {
            "content": "/usr/lib/python3.10/ctypes/init.py\n\n",
            "subsections": []
        }
    },
    "summary": "ctypes - create and manipulate C data types in Python",
    "flags": [],
    "examples": [],
    "see_also": []
}