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

Function AddStringUInt

sdk/tests/test_feature/source/scriptstring.cpp:375–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373//----------------
374
375static CScriptString *AddStringUInt(const CScriptString &str, unsigned int i)
376{
377 char buf[100];
378#if _MSC_VER >= 1400 // MSVC 8.0 / 2005
379 sprintf_s(buf, 100, "%u", i);
380#else
381 sprintf(buf, "%u", i);
382#endif
383 return new CScriptString(str.buffer + buf);
384}
385
386static void AddStringUInt_Generic(asIScriptGeneric *gen)
387{

Callers 1

AddStringUInt_GenericFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected