MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / push_string

Function push_string

modules/engine/lua/src/build.skr_lua.cpp:580–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578}
579
580int push_string(lua_State* L, const skr::String& str)
581{
582 lua_pushstring(L, str.c_str());
583 return 1;
584}
585
586int push_string(lua_State* L, skr::stl_u8string_view str)
587{

Callers 2

pushMethod · 0.85
pushMethod · 0.85

Calls 5

lua_pushstringFunction · 0.50
lua_pushlstringFunction · 0.50
c_strMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected