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

Function ScriptFile_ReadUInt_Generic

sdk/add_on/scriptfile/scriptfile.cpp:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void ScriptFile_ReadUInt_Generic(asIScriptGeneric *gen)
87{
88 CScriptFile *file = (CScriptFile*)gen->GetObject();
89 asUINT bytes = *(asUINT*)gen->GetAddressOfArg(0);
90 *(asQWORD*)gen->GetAddressOfReturnLocation() = file->ReadUInt(bytes);
91}
92
93void ScriptFile_ReadFloat_Generic(asIScriptGeneric *gen)
94{

Callers

nothing calls this directly

Calls 4

GetObjectMethod · 0.80
ReadUIntMethod · 0.80
GetAddressOfArgMethod · 0.45

Tested by

no test coverage detected