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

Function Get

sdk/tests/test_feature/source/test_scriptstring.cpp:51–61  ·  view source on GitHub ↗

bool Get(int * /*obj*/, const CScriptString &szURL, CScriptString &szHTML)

Source from the content-addressed store, hash-verified

49
50//bool Get(int * /*obj*/, const CScriptString &szURL, CScriptString &szHTML)
51void Get(asIScriptGeneric *gen)
52{
53 const CScriptString *szURL = (CScriptString*)gen->GetArgObject(0);
54 CScriptString *szHTML = (CScriptString*)gen->GetArgObject(1);
55
56 assert(szHTML != 0);
57 assert(szURL->buffer == "stringtest");
58 szHTML->buffer = "output";
59
60 gen->SetReturnDWord(false);
61}
62
63static CScriptString *g_test = 0;
64void GetConstStringRef(asIScriptGeneric *gen)

Callers 4

GetFirstMethod · 0.85
GetLastMethod · 0.85
GetMethod · 0.85
TestFunction · 0.85

Calls 2

GetArgObjectMethod · 0.80
SetReturnDWordMethod · 0.80

Tested by

no test coverage detected