MCPcopy Create free account
hub / github.com/CytopiaTeam/Cytopia / ScriptAnyFactory2_Generic

Function ScriptAnyFactory2_Generic

external/as_add_on/scriptany/scriptany.cpp:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16static void ScriptAnyFactory2_Generic(asIScriptGeneric *gen)
17{
18 asIScriptEngine *engine = gen->GetEngine();
19 void *ref = (void*)gen->GetArgAddress(0);
20 int refType = gen->GetArgTypeId(0);
21
22 *(CScriptAny**)gen->GetAddressOfReturnLocation() = new CScriptAny(ref,refType,engine);
23}
24
25static CScriptAny &ScriptAnyAssignment(CScriptAny *other, CScriptAny *self)
26{

Callers

nothing calls this directly

Calls 1

GetEngineMethod · 0.45

Tested by

no test coverage detected