moduleobject.h File Reference

Classes

struct  PyModuleDef_Base
 
struct  PyModuleDef_Slot
 
struct  PyModuleDef
 

Macros

#define PyModule_Check(op)
 
#define PyModule_CheckExact(op)
 
#define PyModuleDef_HEAD_INIT
 
#define Py_mod_create
 
#define Py_mod_exec
 
#define _Py_mod_LAST_SLOT
 

Typedefs

typedef struct PyModuleDef_Base PyModuleDef_Base
 
typedef struct PyModuleDef_Slot PyModuleDef_Slot
 
typedef struct PyModuleDef PyModuleDef
 

Functions

 PyAPI_DATA (PyTypeObject) PyModule_Type
 
 PyAPI_FUNC (PyObject *) PyModule_NewObject(PyObject *name)
 
 PyAPI_FUNC (const char *) PyModule_GetName(PyObject *)
 
 Py_DEPRECATED (3.2) PyAPI_FUNC(const char *) PyModule_GetFilename(PyObject *)
 
 PyAPI_FUNC (void) _PyModule_Clear(PyObject *)
 
 PyAPI_FUNC (int) _PyModuleSpec_IsInitializing(PyObject *)
 
 PyAPI_FUNC (struct PyModuleDef *) PyModule_GetDef(PyObject *)
 
 PyAPI_FUNC (void *) PyModule_GetState(PyObject *)
 

Macro Definition Documentation

◆ PyModule_Check

#define PyModule_Check (   op)

◆ PyModule_CheckExact

#define PyModule_CheckExact (   op)

◆ PyModuleDef_HEAD_INIT

#define PyModuleDef_HEAD_INIT

◆ Py_mod_create

#define Py_mod_create

◆ Py_mod_exec

#define Py_mod_exec

◆ _Py_mod_LAST_SLOT

#define _Py_mod_LAST_SLOT

Typedef Documentation

◆ PyModuleDef_Base

◆ PyModuleDef_Slot

◆ PyModuleDef

typedef struct PyModuleDef PyModuleDef

Function Documentation

◆ PyAPI_DATA()

PyAPI_DATA ( PyTypeObject  )

◆ PyAPI_FUNC() [1/6]

PyAPI_FUNC ( PyObject )

◆ PyAPI_FUNC() [2/6]

PyAPI_FUNC ( const char *  )

◆ Py_DEPRECATED()

Py_DEPRECATED ( 3.  2) const

◆ PyAPI_FUNC() [3/6]

PyAPI_FUNC ( void  )

◆ PyAPI_FUNC() [4/6]

PyAPI_FUNC ( int  )

◆ PyAPI_FUNC() [5/6]

PyAPI_FUNC ( struct PyModuleDef )

◆ PyAPI_FUNC() [6/6]

PyAPI_FUNC ( void *  )