static int ltotal(lua_State *L) { size_t t = malloc_used_memory(); lua_pushinteger(L, (lua_Integer)t); return 1; }
static int ltotal(lua_State *L) { size_t t = malloc_used_memory(); lua_pushunsigned(L, t); return 1; }