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

Function ScriptFile_WriteString_Generic

sdk/add_on/scriptfile/scriptfile.cpp:105–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void ScriptFile_WriteString_Generic(asIScriptGeneric *gen)
106{
107 CScriptFile *file = (CScriptFile*)gen->GetObject();
108 std::string *str = (std::string*)gen->GetArgAddress(0);
109 gen->SetReturnDWord(file->WriteString(*str));
110}
111
112void ScriptFile_WriteInt_Generic(asIScriptGeneric *gen)
113{

Callers

nothing calls this directly

Calls 4

GetObjectMethod · 0.80
GetArgAddressMethod · 0.80
SetReturnDWordMethod · 0.80
WriteStringMethod · 0.45

Tested by

no test coverage detected