Next: slua_tbl_copy, Previous: slua_tbl_el_delete, Up: Manipulating Tables
compare two tables for equality
#include <luasup/luasup.h>int slua_tbl_cmp( lua_Object table1, lua_Object table2 );
lua_Object table1
- the first table
lua_Object table2
- the second table
This routine compares two tables for equality. it is a deep comparison.
0
if the two tables are equivalent, 1
if they are not.
Diab Jerius