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

Function ScriptFile_ReadInt_Generic

sdk/add_on/scriptfile/scriptfile.cpp:79–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void ScriptFile_ReadInt_Generic(asIScriptGeneric *gen)
80{
81 CScriptFile *file = (CScriptFile*)gen->GetObject();
82 asUINT bytes = *(asUINT*)gen->GetAddressOfArg(0);
83 *(asINT64*)gen->GetAddressOfReturnLocation() = file->ReadInt(bytes);
84}
85
86void ScriptFile_ReadUInt_Generic(asIScriptGeneric *gen)
87{

Callers

nothing calls this directly

Calls 4

GetObjectMethod · 0.80
ReadIntMethod · 0.80
GetAddressOfArgMethod · 0.45

Tested by

no test coverage detected