NativePyModuleDef Struct Reference

#include <cpython37_raw.h>

Inheritance diagram for NativePyModuleDef:

公共成员函数

  NativePyModuleDef ()=default
  NativePyModuleDef (const Char *name, py::NativePyMethodDef *methods, const Char *doc)
-  Public Member Functions inherited from NativePyObjectHead_Release
_typeobject *  GetTypeObject ()
-  Public Member Functions inherited from NativePyObject
_object *  Get ()
const _object *  Get () const

Public Attributes

const Char m_name
const Char m_doc
Int64   m_size
py::NativePyMethodDef m_methods
void *  slots
void *  m_traverse
void *  m_clear
void *  m_free
-  Public Attributes inherited from NativePyModuleDefBase
NativePyObject *(*  m_init )(void)
Int   m_index
NativePyObject m_copy
-  Public Attributes inherited from NativePyObjectHead_Release
Int   ob_refcnt
struct NativePyTypeObject ob_type

构造函数 & 析构函数文档编制

◆  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

py::NativePyMethodDef * m_methods

◆  slots

void* slots

◆  m_traverse

void* m_traverse

◆  m_clear

void* m_clear

◆  m_free

void* m_free