Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ lua_pushstring
Function
lua_pushstring
engine/lua/src/lua/lapi.c:454–459 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
452
453
454
LUA_API void lua_pushstring (lua_State *L, const char *s) {
455
if (s == NULL)
456
lua_pushnil(L);
457
else
458
lua_pushlstring(L, s, strlen(s));
459
}
460
461
462
LUA_API const char *lua_pushvfstring (lua_State *L, const char *fmt,
Callers
15
Crash_GetModules
Function · 0.85
Crash_GetUserField
Function · 0.85
Crash_GetSysField
Function · 0.85
Crash_GetBacktrace
Function · 0.85
Crash_GetExtraData
Function · 0.85
PropertiesToLuaTable
Function · 0.85
CompScriptOnInput
Function · 0.85
RetrieveVarFromScript
Function · 0.85
CompScriptSetProperty
Function · 0.85
TestSetInstanceContext
Function · 0.85
TestGetInstanceContext
Function · 0.85
Callback_AddMount
Function · 0.85
Calls
2
lua_pushnil
Function · 0.85
lua_pushlstring
Function · 0.85
Tested by
15
TestSetInstanceContext
Function · 0.68
TestGetInstanceContext
Function · 0.68
TEST_F
Function · 0.68
ProtectedLuaDDFBufferOverflow
Function · 0.68
TestString
Method · 0.68
TEST_F
Function · 0.68
TEST_F
Function · 0.68
TEST_F
Function · 0.68
TEST_F
Function · 0.68
TestToString
Function · 0.68
TEST_F
Function · 0.68
TestScriptExtensionNewScriptWorld
Function · 0.68