MCPcopy Create free account
hub / github.com/citp/BlockSci / addSelfProxy

Function addSelfProxy

blockscipy/src/python_interface.cpp:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49template <typename Class>
50void addSelfProxy(Class &cl) {
51 using T = typename Class::type;
52 cl.def_property_readonly_static("_self_proxy", [](pybind11::object &) -> Proxy<T> {
53 return makeSimpleProxy<T>();
54 });
55}
56
57template <typename T>
58void addAnyInit(py::class_<std::any> &cl) {

Callers 1

PYBIND11_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected