MCPcopy Create free account
hub / github.com/TASEmulators/fceux / lua_pushstring

Function lua_pushstring

src/lua/src/lapi.c:454–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452
453
454LUA_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
462LUA_API const char *lua_pushvfstring (lua_State *L, const char *fmt,

Callers 15

emu_getdirFunction · 0.85
emu_loadromFunction · 0.85
rom_getfilenameFunction · 0.85
rom_gethashFunction · 0.85
tostringFunction · 0.85
tobitstringFunction · 0.85
toCStringFunction · 0.85
savestate_create_aliasedFunction · 0.85
movie_modeFunction · 0.85
movie_getnameFunction · 0.85
movie_getfilenameFunction · 0.85

Calls 2

lua_pushnilFunction · 0.85
lua_pushlstringFunction · 0.85

Tested by

no test coverage detected