MCPcopy Create free account
hub / github.com/bab2min/tomotopy / Module

Method Module

src/python/handler/PyUtils.h:2055–2066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2053
2054 public:
2055 Module(const char* name, const char* doc)
2056 {
2057 def.m_base = PyModuleDef_HEAD_INIT;
2058 def.m_name = name;
2059 def.m_doc = doc;
2060 def.m_size = -1;
2061 def.m_methods = nullptr;
2062 def.m_slots = nullptr;
2063 def.m_traverse = nullptr;
2064 def.m_clear = nullptr;
2065 def.m_free = nullptr;
2066 }
2067
2068 template<class Def>
2069 Module(const char* name, const char* doc, Def&& fn);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected