MCPcopy Create free account
hub / github.com/Vector35/debugger / DBG_API_OBJECT_NEW_REF

Function DBG_API_OBJECT_NEW_REF

core/refcountobject.h:232–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230
231 template <class T>
232 static T* DBG_API_OBJECT_NEW_REF(T* obj)
233 {
234 if (obj)
235 obj->object->AddAPIRef();
236 return obj;
237 }
238
239 template <class T>
240 static void DBG_API_OBJECT_FREE(T* obj)

Callers 1

Calls 1

AddAPIRefMethod · 0.80

Tested by

no test coverage detected