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

Function AddUIntString

sdk/tests/test_performance/source/scriptstring.cpp:493–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491}
492
493static CScriptString *AddUIntString(unsigned int i, const CScriptString &str)
494{
495 char buf[100];
496#if _MSC_VER >= 1400 // MSVC 8.0 / 2005
497 sprintf_s(buf, 100, "%u", i);
498#else
499 sprintf(buf, "%u", i);
500#endif
501 return new CScriptString(buf + str.buffer);
502}
503
504static void AddUIntString_Generic(asIScriptGeneric *gen)
505{

Callers 1

AddUIntString_GenericFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected