Searched refs:Resource_Type (Results 1 – 1 of 1) sorted by relevance
41 PyTypeObject Resource_Type; variable43 #define ResObj_Check(x) ((x)->ob_type == &Resource_Type || PyObject_TypeCheck((x), &Resource_Type))55 it = PyObject_NEW(ResourceObject, &Resource_Type); in ResObj_New()622 PyTypeObject Resource_Type = { variable1750 Resource_Type.ob_type = &PyType_Type; in init_Res()1751 if (PyType_Ready(&Resource_Type) < 0) return; in init_Res()1752 Py_INCREF(&Resource_Type); in init_Res()1753 PyModule_AddObject(m, "Resource", (PyObject *)&Resource_Type); in init_Res()1755 Py_INCREF(&Resource_Type); in init_Res()1756 PyModule_AddObject(m, "ResourceType", (PyObject *)&Resource_Type); in init_Res()