MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / lua_pushhstring

Function lua_pushhstring

other_src/lua/src/lapi.cpp:476–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474
475
476LUA_API void lua_pushhstring (lua_State *L,
477 lua_Hash h, const char *s, size_t len) {
478 lua_lock(L);
479 luaC_checkGC(L);
480 setsvalue2s(L, L->top, luaS_newhstr(L, h, s, len));
481 api_incr_top(L);
482 lua_unlock(L);
483}
484
485
486LUA_API void lua_pushstring (lua_State *L, const char *s) {

Callers

nothing calls this directly

Calls 1

luaS_newhstrFunction · 0.85

Tested by

no test coverage detected