MCPcopy Create free account
hub / github.com/WheretIB/nullc / __nullcMakeAutoRef

Function __nullcMakeAutoRef

NULLC/translation/runtime.cpp:328–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328NULLCRef __nullcMakeAutoRef(void* ptr, unsigned int typeID)
329{
330 NULLCRef ret;
331 ret.ptr = (char*)ptr;
332 ret.typeID = typeID;
333 return ret;
334}
335void* __nullcGetAutoRef(const NULLCRef &ref, unsigned int typeID)
336{
337 __assert(ref.typeID == typeID);

Calls

no outgoing calls

Tested by

no test coverage detected