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

Method ModuleDefinition

src/python/handler/PyUtils.h:3237–3244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3235 inline static auto propertyDefs = detail::PropertyDefBuilder<Properties>::get();
3236
3237 constexpr ModuleDefinition(
3238 const std::vector<const char*>& _methodNames = {},
3239 const std::vector<const char*>& _propertyNames = {}
3240 )
3241 : methodNames{ _methodNames },
3242 propertyNames{ _propertyNames }
3243 {
3244 }
3245
3246 template<auto memFn>
3247 constexpr ModuleDefinition<defs..., methodDef<memFn, METH_VARARGS | METH_KEYWORDS>> method(const char* name) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected