2020-11-27 13:21:07 -05:00
|
|
|
#ifndef TABLE_HPP
|
|
|
|
|
#define TABLE_HPP
|
2020-11-13 18:17:47 -05:00
|
|
|
|
2020-11-27 13:21:07 -05:00
|
|
|
#include "luastack.hpp"
|
2020-11-13 18:17:47 -05:00
|
|
|
|
2020-12-05 18:57:53 -05:00
|
|
|
// Clear a table. Takes the table as a parameter.
|
|
|
|
|
int table_clear(lua_State *L);
|
2020-11-15 16:49:42 -05:00
|
|
|
|
2020-12-05 18:57:53 -05:00
|
|
|
// Takes an object O. If O is a table, returns it, otherwise
|
|
|
|
|
// returns a new table.
|
|
|
|
|
int table_coerce(lua_State *L);
|
2020-11-13 18:17:47 -05:00
|
|
|
|
2020-11-27 13:21:07 -05:00
|
|
|
#endif // TABLE_HPP
|