Searched refs:PyCPointer_Type (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Modules/_ctypes/ |
D | ctypes.h | 139 extern PyTypeObject PyCPointer_Type; 146 #define PointerObject_Check(v) PyObject_TypeCheck(v, &PyCPointer_Type)
|
D | callproc.c | 1719 result = PyObject_CallFunction((PyObject *)Py_TYPE(&PyCPointer_Type), in POINTER() 1722 &PyCPointer_Type); in POINTER() 1737 result = PyObject_CallFunction((PyObject *)Py_TYPE(&PyCPointer_Type), in POINTER() 1740 &PyCPointer_Type, in POINTER()
|
D | _ctypes.c | 5173 PyTypeObject PyCPointer_Type = { variable 5518 Py_TYPE(&PyCPointer_Type) = &PyCPointerType_Type; in PyInit__ctypes() 5519 PyCPointer_Type.tp_base = &PyCData_Type; in PyInit__ctypes() 5520 if (PyType_Ready(&PyCPointer_Type) < 0) in PyInit__ctypes() 5522 Py_INCREF(&PyCPointer_Type); in PyInit__ctypes() 5523 PyModule_AddObject(m, "_Pointer", (PyObject *)&PyCPointer_Type); in PyInit__ctypes()
|
/external/python/cpython2/Modules/_ctypes/ |
D | ctypes.h | 179 extern PyTypeObject PyCPointer_Type; 186 #define PointerObject_Check(v) PyObject_TypeCheck(v, &PyCPointer_Type)
|
D | callproc.c | 1834 result = PyObject_CallFunction((PyObject *)Py_TYPE(&PyCPointer_Type), in POINTER() 1837 &PyCPointer_Type); in POINTER() 1851 result = PyObject_CallFunction((PyObject *)Py_TYPE(&PyCPointer_Type), in POINTER() 1854 &PyCPointer_Type, in POINTER()
|
D | _ctypes.c | 5433 PyTypeObject PyCPointer_Type = { variable 5755 Py_TYPE(&PyCPointer_Type) = &PyCPointerType_Type; in init_ctypes() 5756 PyCPointer_Type.tp_base = &PyCData_Type; in init_ctypes() 5757 if (PyType_Ready(&PyCPointer_Type) < 0) in init_ctypes() 5759 Py_INCREF(&PyCPointer_Type); in init_ctypes() 5760 PyModule_AddObject(m, "_Pointer", (PyObject *)&PyCPointer_Type); in init_ctypes()
|