C API - lua_next traversal of "array" table
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: C API - lua_next traversal of "array" table
- From: ThePhD <jm3689@...>
- Date: 2016年8月17日 13:41:54 -0400
I have a small question regarding the Lua C API's "lua_next" function when used on a certain subset of objects: tables that are made like arrays, with sequential integer keys. Is the order of iteration guaranteed to go from '0' to 'N' in this case, or am I still subject to jumping around in some implementation-defined order of traversal?