摘要: int lua_next (lua_State *L, int index);Pops a key from the stack, and pushes a key-value pair from the table at the given index (the "next" pair after the given key). If there are no more elements in the table, thenlua_nextreturns 0 (and pushes nothing).A typical traversal looks like this: 阅读全文
posted @ 2013-03-20 19:29 good90 阅读(676) 评论(0) 推荐(0) 编辑