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

Function DestructStringGeneric

sdk/tests/test_feature/source/test_compiler.cpp:80–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80static void DestructStringGeneric(asIScriptGeneric * gen) {
81 string * ptr = static_cast<string *>(gen->GetObject());
82 ptr->~string();
83}
84
85static void AssignStringGeneric(asIScriptGeneric *gen) {
86 string * a = static_cast<string *>(gen->GetArgObject(0));

Callers

nothing calls this directly

Calls 1

GetObjectMethod · 0.80

Tested by

no test coverage detected