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

Function AssignStringGeneric

sdk/add_on/scriptstdstring/scriptstdstring.cpp:1111–1117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1109}
1110
1111static void AssignStringGeneric(asIScriptGeneric *gen)
1112{
1113 string * a = static_cast<string *>(gen->GetArgObject(0));
1114 string * self = static_cast<string *>(gen->GetObject());
1115 *self = *a;
1116 gen->SetReturnAddress(self);
1117}
1118
1119static void AddAssignStringGeneric(asIScriptGeneric *gen)
1120{

Callers

nothing calls this directly

Calls 3

GetArgObjectMethod · 0.80
GetObjectMethod · 0.80
SetReturnAddressMethod · 0.80

Tested by

no test coverage detected