Searched refs:PyCFuncPtr_Type (Results 1 – 2 of 2) sorted by relevance
180 extern PyTypeObject PyCFuncPtr_Type;188 #define PyCFuncPtrObject_Check(v) PyObject_TypeCheck(v, &PyCFuncPtr_Type)
4088 PyTypeObject PyCFuncPtr_Type = { variable5681 Py_TYPE(&PyCFuncPtr_Type) = &PyCFuncPtrType_Type; in init_ctypes()5682 PyCFuncPtr_Type.tp_base = &PyCData_Type; in init_ctypes()5683 if (PyType_Ready(&PyCFuncPtr_Type) < 0) in init_ctypes()5685 Py_INCREF(&PyCFuncPtr_Type); in init_ctypes()5686 PyModule_AddObject(m, "CFuncPtr", (PyObject *)&PyCFuncPtr_Type); in init_ctypes()