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

Function tostring_u64

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

---------------------------------------------------------------------------*/ __u64 */ ---------------------------------------------------------------------------*/

Source from the content-addressed store, hash-verified

85/* __u64 */
86/*---------------------------------------------------------------------------*/
87static int tostring_u64(lua_State *L)
88{
89 char temp[64];
90 sprintf(temp, "%I64u", *(unsigned long long*)lua_topointer(L, 1));
91 lua_pushstring(L, temp);
92 return 1;
93}
94
95/*---------------------------------------------------------------------------*/
96static int eq_u64(lua_State *L)

Callers

nothing calls this directly

Calls 2

lua_topointerFunction · 0.85
lua_pushstringFunction · 0.85

Tested by

no test coverage detected