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

Function AssignStringGeneric

sdk/tests/test_feature/source/test_compiler.cpp:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85static void AssignStringGeneric(asIScriptGeneric *gen) {
86 string * a = static_cast<string *>(gen->GetArgObject(0));
87 string * self = static_cast<string *>(gen->GetObject());
88 *self = *a;
89 gen->SetReturnAddress(self);
90}
91
92static void StringAddGeneric(asIScriptGeneric * gen) {
93 string * a = static_cast<string *>(gen->GetObject());

Callers

nothing calls this directly

Calls 3

GetArgObjectMethod · 0.80
GetObjectMethod · 0.80
SetReturnAddressMethod · 0.80

Tested by

no test coverage detected