Home
last modified time | relevance | path

Searched refs:m_slots (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Objects/
Dmoduleobject.c193 if (module->m_slots) { in _PyModule_CreateInitialized()
278 for (cur_slot = def->m_slots; cur_slot && cur_slot->slot; cur_slot++) { in PyModule_FromDefAndSpec2()
404 if (def->m_slots == NULL) { in PyModule_ExecDef()
408 for (cur_slot = def->m_slots; cur_slot && cur_slot->slot; cur_slot++) { in PyModule_ExecDef()
/external/python/cpython3/Include/
Dmoduleobject.h80 struct PyModuleDef_Slot* m_slots; member
/external/python/cpython3/Doc/c-api/
Dmodule.rst183 .. c:member:: PyModuleDef_Slot* m_slots
187 When using single-phase initialization, *m_slots* must be *NULL*.
273 :c:member:`~PyModuleDef.m_slots`. Before it is returned, the ``PyModuleDef``
285 The *m_slots* member of the module definition must point to an array of
300 The *m_slots* array must be terminated by a slot with id 0.
346 order they appear in the *m_slots* array.
/external/python/cpython3/Python/
Dpystate.c451 if (module->m_slots) { in PyState_FindModule()
472 if (def->m_slots) { in _PyState_AddModule()
517 if (def->m_slots) { in PyState_RemoveModule()