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

Function AddBoolString_Generic

sdk/tests/test_feature/source/scriptstring.cpp:561–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559}
560
561static void AddBoolString_Generic(asIScriptGeneric *gen)
562{
563 bool b = gen->GetArgByte(0) ? true : false;
564 CScriptString *str = (CScriptString*)gen->GetObject();
565 CScriptString *out = AddBoolString(b, *str);
566 gen->SetReturnAddress(out);
567}
568
569//----------
570// string[]

Callers

nothing calls this directly

Calls 4

GetArgByteMethod · 0.80
GetObjectMethod · 0.80
SetReturnAddressMethod · 0.80
AddBoolStringFunction · 0.70

Tested by

no test coverage detected