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

Function CScriptWeakRef_Equals_Generic

sdk/add_on/weakref/weakref.cpp:305–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305void CScriptWeakRef_Equals_Generic(asIScriptGeneric *gen)
306{
307 CScriptWeakRef *other = reinterpret_cast<CScriptWeakRef*>(gen->GetArgAddress(0));
308 CScriptWeakRef *self = reinterpret_cast<CScriptWeakRef*>(gen->GetObject());
309 gen->SetReturnByte(*self == *other);
310}
311
312void CScriptWeakRef_Equals2_Generic(asIScriptGeneric *gen)
313{

Callers

nothing calls this directly

Calls 3

GetArgAddressMethod · 0.80
GetObjectMethod · 0.80
SetReturnByteMethod · 0.80

Tested by

no test coverage detected