MCPcopy Create free account
hub / github.com/albertodemichelis/squirrel / _string_format

Function _string_format

sqstdlib/sqstdstring.cpp:191–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191static SQInteger _string_format(HSQUIRRELVM v)
192{
193 SQChar *dest = NULL;
194 SQInteger length = 0;
195 if(SQ_FAILED(sqstd_format(v,2,&length,&dest)))
196 return -1;
197 sq_pushstring(v,dest,length);
198 return 1;
199}
200
201static void __strip_l(const SQChar *str,const SQChar **start)
202{

Callers

nothing calls this directly

Calls 2

sqstd_formatFunction · 0.85
sq_pushstringFunction · 0.85

Tested by

no test coverage detected