MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / pushutfchar

Function pushutfchar

third-party/lua-5.4.6/src/lutf8lib.c:155–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153
154
155static void pushutfchar (lua_State *L, int arg) {
156 lua_Unsigned code = (lua_Unsigned)luaL_checkinteger(L, arg);
157 luaL_argcheck(L, code <= MAXUTF, arg, "value out of range");
158 lua_pushfstring(L, "%U", (long)code);
159}
160
161
162/*

Callers 1

utfcharFunction · 0.70

Calls 2

luaL_checkintegerFunction · 0.70
lua_pushfstringFunction · 0.70

Tested by

no test coverage detected