Searched refs:capi_object (Results 1 – 2 of 2) sorted by relevance
1647 PyObject *capi_object; in MODULE_INITFUNC() local1883 capi_object = PyCapsule_New(&capi, PyExpat_CAPSULE_NAME, NULL); in MODULE_INITFUNC()1884 if (capi_object) in MODULE_INITFUNC()1885 PyModule_AddObject(m, "expat_CAPI", capi_object); in MODULE_INITFUNC()
1844 PyObject* capi_object; in MODULE_INITFUNC() local2047 capi_object = PyCapsule_New(&capi, PyExpat_CAPSULE_NAME, NULL); in MODULE_INITFUNC()2048 if (capi_object) in MODULE_INITFUNC()2049 PyModule_AddObject(m, "expat_CAPI", capi_object); in MODULE_INITFUNC()