Searched refs:cur_slot (Results 1 – 1 of 1) sorted by relevance
247 PyModuleDef_Slot* cur_slot; in PyModule_FromDefAndSpec2() local278 for (cur_slot = def->m_slots; cur_slot && cur_slot->slot; cur_slot++) { in PyModule_FromDefAndSpec2()279 if (cur_slot->slot == Py_mod_create) { in PyModule_FromDefAndSpec2()287 create = cur_slot->value; in PyModule_FromDefAndSpec2()288 } else if (cur_slot->slot < 0 || cur_slot->slot > _Py_mod_LAST_SLOT) { in PyModule_FromDefAndSpec2()292 name, cur_slot->slot); in PyModule_FromDefAndSpec2()381 PyModuleDef_Slot *cur_slot; in PyModule_ExecDef() local408 for (cur_slot = def->m_slots; cur_slot && cur_slot->slot; cur_slot++) { in PyModule_ExecDef()409 switch (cur_slot->slot) { in PyModule_ExecDef()414 ret = ((int (*)(PyObject *))cur_slot->value)(module); in PyModule_ExecDef()[all …]