Home
last modified time | relevance | path

Searched refs:PyCFuncPtr_Type (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Modules/_ctypes/
Dctypes.h140 extern PyTypeObject PyCFuncPtr_Type;
148 #define PyCFuncPtrObject_Check(v) PyObject_TypeCheck(v, &PyCFuncPtr_Type)
D_ctypes.c4077 PyTypeObject PyCFuncPtr_Type = { variable
5539 Py_TYPE(&PyCFuncPtr_Type) = &PyCFuncPtrType_Type; in PyInit__ctypes()
5540 PyCFuncPtr_Type.tp_base = &PyCData_Type; in PyInit__ctypes()
5541 if (PyType_Ready(&PyCFuncPtr_Type) < 0) in PyInit__ctypes()
5543 Py_INCREF(&PyCFuncPtr_Type); in PyInit__ctypes()
5544 PyModule_AddObject(m, "CFuncPtr", (PyObject *)&PyCFuncPtr_Type); in PyInit__ctypes()
/external/python/cpython2/Modules/_ctypes/
Dctypes.h180 extern PyTypeObject PyCFuncPtr_Type;
188 #define PyCFuncPtrObject_Check(v) PyObject_TypeCheck(v, &PyCFuncPtr_Type)
D_ctypes.c4185 PyTypeObject PyCFuncPtr_Type = { variable
5776 Py_TYPE(&PyCFuncPtr_Type) = &PyCFuncPtrType_Type; in init_ctypes()
5777 PyCFuncPtr_Type.tp_base = &PyCData_Type; in init_ctypes()
5778 if (PyType_Ready(&PyCFuncPtr_Type) < 0) in init_ctypes()
5780 Py_INCREF(&PyCFuncPtr_Type); in init_ctypes()
5781 PyModule_AddObject(m, "CFuncPtr", (PyObject *)&PyCFuncPtr_Type); in init_ctypes()