MCPcopy Create free account
hub / github.com/anjo76/angelscript / CScriptWeakRef_Equals2_Generic

Function CScriptWeakRef_Equals2_Generic

sdk/add_on/weakref/weakref.cpp:312–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312void CScriptWeakRef_Equals2_Generic(asIScriptGeneric *gen)
313{
314 void *other = gen->GetArgAddress(0);
315 CScriptWeakRef *self = reinterpret_cast<CScriptWeakRef*>(gen->GetObject());
316
317 gen->SetReturnByte(self->Equals(other));
318}
319
320static void ScriptWeakRefTemplateCallback_Generic(asIScriptGeneric *gen)
321{

Callers

nothing calls this directly

Calls 4

GetArgAddressMethod · 0.80
GetObjectMethod · 0.80
SetReturnByteMethod · 0.80
EqualsMethod · 0.45

Tested by

no test coverage detected