MCPcopy Create free account
hub / github.com/adventuregamestudio/ags / SetString

Method SetString

Common/util/string.cpp:985–995  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

983}
984
985void String::SetString(const char *cstr, size_t length)
986{
987 if (cstr && length > 0u)
988 {
989 SetStringImpl(cstr, std::min(length, strlen(cstr)));
990 }
991 else
992 {
993 Empty();
994 }
995}
996
997void String::SetStringImpl(const char *cstr, size_t length)
998{

Callers 7

GetNextWordMethod · 0.80
DumpInstructionMethod · 0.80
TESTFunction · 0.80
AddMethod · 0.80
FindFileCIMethod · 0.80
ReadFromFile_v321Method · 0.80
load_template_fileFunction · 0.80

Calls 1

EmptyFunction · 0.85

Tested by 1

TESTFunction · 0.64