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

Method set

src/python/handler/PyUtils.h:2690–2699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2688
2689 template<T ptr>
2690 static constexpr setter set()
2691 {
2692 return (setter)[](PyObject* self, PyObject* val, void* closure) -> int
2693 {
2694 return handleExc([&]()
2695 {
2696 return Base::template set<ptr>((typename Base::ClassPtrOrFirstArgType)self, val);
2697 });
2698 };
2699 }
2700 };
2701
2702#define _PY_DETAILED_TEST_MEMFN(name, func) \

Callers

nothing calls this directly

Calls 1

handleExcFunction · 0.85

Tested by

no test coverage detected