Implement printf, dprintf, string.format

This commit is contained in:
2026-02-17 19:57:58 -05:00
parent a987754b38
commit ff81d79b4a
7 changed files with 363 additions and 121 deletions

View File

@@ -700,7 +700,8 @@ public:
// LUA_TTHREAD, LUA_TLIGHTUSERDATA, LUA_TUSERDATA.
//
int type(LuaSlot s) const { return lua_type(L_, s); }
const char *typestr(LuaSlot s) const { return lua_typename(L_, lua_type(L_, s)); }
// Get the extended type of a LuaSlot.
//
// If the variable contains a table, returns one of the LuaTableType