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

Function DBG_API_OBJECT_REF

core/refcountobject.h:205–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 // Macro-like functions to manage referenced objects for the external API
204 template <class T>
205 static typename T::APIHandle DBG_API_OBJECT_REF(T* obj)
206 {
207 if (obj == nullptr)
208 return nullptr;
209 obj->AddAPIRef();
210 return obj->GetAPIObject();
211 }
212
213 template <class T>
214 static typename T::APIHandle DBG_API_OBJECT_REF(const DbgRef<T>& obj)

Callers 1

BNGetDebuggerControllerFunction · 0.85

Calls 1

AddAPIRefMethod · 0.80

Tested by

no test coverage detected