Open Search
    NativePyModuleDef Struct Reference

    #include <cpython3_raw.h>

    Inheritance diagram for NativePyModuleDef:

    Public Member Functions

     NativePyModuleDef ()=default
     
     NativePyModuleDef (const Char *name, py::NativePyMethodDef *methods, const Char *doc)
     
    - Public Member Functions inherited from NativePyObjectHead_Release
    _typeobjectGetTypeObject ()
     
    - Public Member Functions inherited from NativePyObject
    _objectGet ()
     
    const _objectGet () const
     

    Public Attributes

    const Charm_name
     
    const Charm_doc
     
    Int64 m_size
     
    py::NativePyMethodDefm_methods
     
    void * slots
     
    void * m_traverse
     
    void * m_clear
     
    void * m_free
     
    - Public Attributes inherited from NativePyModuleDefBase
    NativePyObject *(* m_init )()
     
    Int m_index
     
    NativePyObjectm_copy
     
    - Public Attributes inherited from NativePyObjectHead_Release
    Int ob_refcnt
     
    struct NativePyTypeObjectob_type
     

    Constructor & Destructor Documentation

    ◆ NativePyModuleDef() [1/2]

    NativePyModuleDef ( )
    default

    ◆ NativePyModuleDef() [2/2]

    NativePyModuleDef ( const Char name,
    py::NativePyMethodDef methods,
    const Char doc 
    )

    Member Data Documentation

    ◆ m_name

    const Char* m_name

    ◆ m_doc

    const Char* m_doc

    ◆ m_size

    Int64 m_size

    ◆ m_methods

    ◆ slots

    void* slots

    ◆ m_traverse

    void* m_traverse

    ◆ m_clear

    void* m_clear

    ◆ m_free

    void* m_free