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

Method case_pointer

bindings/python/cobj.cpp:141–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 }
140
141 static std::unique_ptr<CObj> case_pointer(PointerType const* Ty, void* Ptr)
142 {
143 return std::unique_ptr<CObj>{new CPointerObj{*Ty, Data<void*>::view((void**)Ptr)}};
144 }
145
146 static std::unique_ptr<CObj> case_composite(StructType const* Ty, void* Ptr)
147 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected