| 770 | } |
| 771 | |
| 772 | static int luaB_exportvar (lua_State *L) { |
| 773 | luaL_checkany(L, 1); |
| 774 | std::string& dump = *pluto_newclassinst(L, std::string); |
| 775 | std::unordered_set<Table*>& parents = *pluto_newclassinst(L, std::unordered_set<Table*>); |
| 776 | lua_pushvalue(L, 1); |
| 777 | if (ttistable(index2value(L, -1))) |
| 778 | parents.emplace(hvalue(index2value(L, -1))); |
| 779 | luaB_dumpvar_impl(L, dump, 1, parents, true); |
| 780 | pluto_pushstring(L, dump); |
| 781 | return 1; |
| 782 | } |
| 783 | |
| 784 | |
| 785 | static int luaB_compareversions (lua_State *L) { |
nothing calls this directly
no test coverage detected