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

Function pushutfchar

third-party/lua-5.5.0/src/lutf8lib.c:146–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144
145
146static void pushutfchar (lua_State *L, int arg) {
147 lua_Unsigned code = (lua_Unsigned)luaL_checkinteger(L, arg);
148 luaL_argcheck(L, code <= MAXUTF, arg, "value out of range");
149 lua_pushfstring(L, "%U", (long)code);
150}
151
152
153/*

Callers 1

utfcharFunction · 0.70

Calls 2

luaL_checkintegerFunction · 0.70
lua_pushfstringFunction · 0.70

Tested by

no test coverage detected