MCPcopy Create free account
hub / github.com/defold/defold / lua_pushinteger

Function lua_pushinteger

engine/lua/src/lua/lapi.c:437–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435
436
437LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) {
438 lua_lock(L);
439 setnvalue(L->top, cast_num(n));
440 api_incr_top(L);
441 lua_unlock(L);
442}
443
444
445LUA_API void lua_pushlstring (lua_State *L, const char *s, size_t len) {

Callers 15

ScriptGetUniqueScriptIdFunction · 0.85
CompScriptOnInputFunction · 0.85
Resource_GetMountsFunction · 0.85
Resource_RemoveMountFunction · 0.85
Callback_AddMountFunction · 0.85
Resource_AddMountFunction · 0.85
Sys_GetConfigIntFunction · 0.85
Sys_GetSysInfoFunction · 0.85
SetGlobalFunction · 0.85
GetGlobalFunction · 0.85
GetInstanceFunction · 0.85
SetInstanceFunction · 0.85

Calls

no outgoing calls

Tested by 10

TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
GetTestScriptExtensionFunction · 0.68
TEST_FFunction · 0.68