Improvements to the pretty-printer

This commit is contained in:
2021-11-26 12:28:59 -05:00
parent 63bca62edd
commit c02109699e
7 changed files with 75 additions and 52 deletions

View File

@@ -390,7 +390,10 @@ public:
void makeclass(LuaSlot tab, LuaSlot name) const;
void makeclass(LuaSlot tab, const char *name) const;
void makeclass(LuaSlot tab, const std::string &name) const;
std::string classname(LuaSlot tab);
std::string classname(LuaSlot tab) const;
int64_t tanid(LuaSlot tab) const;
// There's no 'isclass' operator, but 'classname' will return empty
// string if tab is not a valid class.