Lines Matching refs:PyModuleDef
92 :c:member:`PyModuleDef.m_size`.
95 .. c:function:: PyModuleDef* PyModule_GetDef(PyObject *module)
97 Return a pointer to the :c:type:`PyModuleDef` struct from which the module was
139 .. c:type:: PyModuleDef
224 .. c:function:: PyObject* PyModule_Create(PyModuleDef *def)
231 .. c:function:: PyObject* PyModule_Create2(PyModuleDef *def, int module_api_version)
272 (PyInit_modulename) returns a :c:type:`PyModuleDef` instance with non-empty
273 :c:member:`~PyModuleDef.m_slots`. Before it is returned, the ``PyModuleDef``
276 .. c:function:: PyObject* PyModuleDef_Init(PyModuleDef *def)
309 .. c:function:: PyObject* create_module(PyObject *spec, PyModuleDef *def)
333 ``PyModuleDef`` has non-*NULL* ``m_traverse``, ``m_clear``,
358 .. c:function:: PyObject * PyModule_FromDefAndSpec(PyModuleDef *def, PyObject *spec)
366 .. c:function:: PyObject * PyModule_FromDefAndSpec2(PyModuleDef *def, PyObject *spec, int module_ap…
380 .. c:function:: int PyModule_ExecDef(PyObject *module, PyModuleDef *def)
390 ``PyModuleDef``, using either ``PyModule_Create`` or
403 ``PyModuleDef``, using either ``PyModule_Create`` or
459 .. c:function:: PyObject* PyState_FindModule(PyModuleDef *def)
466 .. c:function:: int PyState_AddModule(PyObject *module, PyModuleDef *def)
475 .. c:function:: int PyState_RemoveModule(PyModuleDef *def)