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

Function ScriptAnyAssignment_Generic

sdk/add_on/scriptany/scriptany.cpp:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30static void ScriptAnyAssignment_Generic(asIScriptGeneric *gen)
31{
32 CScriptAny *other = (CScriptAny*)gen->GetArgObject(0);
33 CScriptAny *self = (CScriptAny*)gen->GetObject();
34
35 *self = *other;
36
37 gen->SetReturnObject(self);
38}
39
40static void ScriptAny_Store_Generic(asIScriptGeneric *gen)
41{

Callers

nothing calls this directly

Calls 3

GetArgObjectMethod · 0.80
GetObjectMethod · 0.80
SetReturnObjectMethod · 0.80

Tested by

no test coverage detected