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

Function createBasicObj

bindings/python/pydffi.cpp:219–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217
218template <class T>
219std::unique_ptr<CBasicObj<T>> createBasicObj(DFFI& D, T V)
220{
221 return std::unique_ptr<CBasicObj<T>>{new CBasicObj<T>{*D.getBasicType<T>(), V}};
222}
223
224struct CUFuncs
225{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected