Changed calling conventions again

This commit is contained in:
2020-12-05 18:57:53 -05:00
parent 150a71433b
commit c751678179
14 changed files with 403 additions and 219 deletions

View File

@@ -3,9 +3,11 @@
#include "luastack.hpp"
int lpx_table_clear(lua_State *L);
int lpx_table_coerce(lua_State *L);
// Clear a table. Takes the table as a parameter.
int table_clear(lua_State *L);
void luaopen_lpx_table (lua_State *L);
// Takes an object O. If O is a table, returns it, otherwise
// returns a new table.
int table_coerce(lua_State *L);
#endif // TABLE_HPP