Lines Matching defs:cur_slot
262 PyModuleDef_Slot* cur_slot;
293 for (cur_slot = def->m_slots; cur_slot && cur_slot->slot; cur_slot++) {
294 if (cur_slot->slot == Py_mod_create) {
302 create = cur_slot->value;
303 } else if (cur_slot->slot < 0 || cur_slot->slot > _Py_mod_LAST_SLOT) {
307 name, cur_slot->slot);
386 PyModuleDef_Slot *cur_slot;
413 for (cur_slot = def->m_slots; cur_slot && cur_slot->slot; cur_slot++) {
414 switch (cur_slot->slot) {
419 ret = ((int (*)(PyObject *))cur_slot->value)(module);
441 name, cur_slot->slot);