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

Method method

src/python/handler/PyUtils.h:3247–3254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3245
3246 template<auto memFn>
3247 constexpr ModuleDefinition<defs..., methodDef<memFn, METH_VARARGS | METH_KEYWORDS>> method(const char* name) const
3248 {
3249 auto ret = ModuleDefinition<defs..., methodDef<memFn, METH_VARARGS | METH_KEYWORDS>>{
3250 methodNames, propertyNames
3251 };
3252 ret.methodNames.emplace_back(name);
3253 return ret;
3254 }
3255 };
3256
3257 namespace detail

Callers

nothing calls this directly

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected