Lines Matching refs:PyModuleDef
93 :c:member:`PyModuleDef.m_size`.
96 .. c:function:: PyModuleDef* PyModule_GetDef(PyObject *module)
98 Return a pointer to the :c:type:`PyModuleDef` struct from which the module was
140 .. c:type:: PyModuleDef
228 :c:member:`~PyModuleDef.m_free` is called directly.
255 .. c:function:: PyObject* PyModule_Create(PyModuleDef *def)
262 .. c:function:: PyObject* PyModule_Create2(PyModuleDef *def, int module_api_version)
303 (PyInit_modulename) returns a :c:type:`PyModuleDef` instance with non-empty
304 :c:member:`~PyModuleDef.m_slots`. Before it is returned, the ``PyModuleDef``
307 .. c:function:: PyObject* PyModuleDef_Init(PyModuleDef *def)
340 .. c:function:: PyObject* create_module(PyObject *spec, PyModuleDef *def)
364 ``PyModuleDef`` has non-``NULL`` ``m_traverse``, ``m_clear``,
389 .. c:function:: PyObject * PyModule_FromDefAndSpec(PyModuleDef *def, PyObject *spec)
397 .. c:function:: PyObject * PyModule_FromDefAndSpec2(PyModuleDef *def, PyObject *spec, int module_ap…
411 .. c:function:: int PyModule_ExecDef(PyObject *module, PyModuleDef *def)
421 ``PyModuleDef``, using either ``PyModule_Create`` or
434 ``PyModuleDef``, using either ``PyModule_Create`` or
591 .. c:function:: PyObject* PyState_FindModule(PyModuleDef *def)
598 .. c:function:: int PyState_AddModule(PyObject *module, PyModuleDef *def)
619 .. c:function:: int PyState_RemoveModule(PyModuleDef *def)