MCPcopy Create free account
hub / github.com/SOUI2/soui / tostring_s64

Function tostring_s64

components/ScriptModule-LUA/lua_tinker/lua_tinker.cpp:26–32  ·  view source on GitHub ↗

---------------------------------------------------------------------------*/ __s64 */ ---------------------------------------------------------------------------*/

Source from the content-addressed store, hash-verified

24/* __s64 */
25/*---------------------------------------------------------------------------*/
26static int tostring_s64(lua_State *L)
27{
28 char temp[64];
29 sprintf(temp, "%I64d", *(long long*)lua_topointer(L, 1));
30 lua_pushstring(L, temp);
31 return 1;
32}
33
34/*---------------------------------------------------------------------------*/
35static int eq_s64(lua_State *L)

Callers

nothing calls this directly

Calls 2

lua_topointerFunction · 0.85
lua_pushstringFunction · 0.85

Tested by

no test coverage detected