MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / pluto_pushstring

Function pluto_pushstring

src/lapi.cpp:633–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

631}
632
633PLUTO_API const char* pluto_pushstring(lua_State* L, const std::string& str) {
634 return lua_pushlstring(L, str.c_str(), str.length());
635}
636
637PLUTO_API const char* pluto_pushstring(lua_State* L, const std::string_view&& str) {
638 return lua_pushlstring(L, str.data(), str.length());

Callers 15

push_http_responseFunction · 0.85
xml_encodeFunction · 0.85
pushxmltagFunction · 0.85
cat_encodeFunction · 0.85
cat_decode_aux_flatFunction · 0.85
cat_decode_aux_fullFunction · 0.85
os_dnsresolveFunction · 0.85
canvas_tobmpFunction · 0.85
canvas_topngFunction · 0.85
canvas_tobwstringFunction · 0.85
str_partitionFunction · 0.85
str_lstripFunction · 0.85

Calls 1

lua_pushlstringFunction · 0.85

Tested by

no test coverage detected