Allow limited access to unsafepairs/unsafenext
This commit is contained in:
@@ -78,10 +78,13 @@ int table_count(lua_State *L);
|
||||
// This is not exposed directly to lua, but it is used
|
||||
// in the new version of the 'pairs' iterator.
|
||||
//
|
||||
// The boolean 'unsortable' is set to indicate whether
|
||||
// or not the table contains unsortable values.
|
||||
// The boolean 'sort' is used to control whether the pairs
|
||||
// are to be sorted or not.
|
||||
//
|
||||
int table_sortedpairs(lua_State *L, bool *unsortable);
|
||||
// The boolean 'unsortable' returns a flag indicating
|
||||
// whether or not unsortable items were omitted.
|
||||
//
|
||||
int table_getpairs(lua_State *L, bool sort, bool *unsortable);
|
||||
|
||||
// table_clear
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user