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

Function AssignStringGeneric

sdk/tests/test_feature/source/test_condition.cpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74static void AssignStringGeneric(asIScriptGeneric *gen) {
75 string * tmp = static_cast<string *>(gen->GetArgObject(0));
76 string * self = static_cast<string *>(gen->GetObject());
77 *self = *tmp;
78 gen->SetReturnAddress(self);
79}
80
81bool StringEquals(const std::string& lhs, const std::string& rhs)
82{

Callers

nothing calls this directly

Calls 3

GetArgObjectMethod · 0.80
GetObjectMethod · 0.80
SetReturnAddressMethod · 0.80

Tested by

no test coverage detected