Searched refs:md_def (Results 1 – 2 of 2) sorted by relevance
41 struct PyModuleDef *def = module->md_def; in _PyModule_IsExtension()98 m->md_def = NULL; in PyModule_NewObject()243 m->md_def = module; in _PyModule_CreateInitialized()329 ((PyModuleObject*)m)->md_def = def; in PyModule_FromDefAndSpec2()681 if (m->md_def && m->md_def->m_free in module_dealloc()682 && (m->md_def->m_size <= 0 || m->md_state != NULL)) in module_dealloc()684 m->md_def->m_free(m); in module_dealloc()778 if (m->md_def && m->md_def->m_traverse in module_traverse()779 && (m->md_def->m_size <= 0 || m->md_state != NULL)) in module_traverse()781 int res = m->md_def->m_traverse((PyObject*)m, visit, arg); in module_traverse()[all …]
14 struct PyModuleDef *md_def; member23 return ((PyModuleObject *)mod)->md_def; in _PyModule_GetDef()