MCPcopy Create free account
hub / github.com/aguinet/dragonffi / case_array

Method case_array

bindings/python/cobj.cpp:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 }
112
113 static py::object case_array(ArrayType const* Ty, void* Ptr)
114 {
115 auto* Ret = new CArrayObj{*Ty, Data<void>::view(Ptr)};
116 return py::cast(Ret, py::return_value_policy::take_ownership);
117 }
118
119 static py::object case_func(FunctionType const* Ty, void* Ptr)
120 {

Callers

nothing calls this directly

Calls 1

castFunction · 0.50

Tested by

no test coverage detected