这是本文档旧的修订版!
格式如下:
int len=luaL_len(L,-1); for(int i=1;i<=len;i++){ lua_rawgeti(L,-1,i); //do something... lua_pop(L,1); }