首页 > 技术文章 > lua的栈

wjx0912 2015-10-17 22:13 原文

lua的栈是从栈底到栈顶:

lua_pushstring(L, "test1");
lua_pushstring(L, "test2");
lua_pushstring(L, "test3");
lua_pushstring(L, "test4");

栈如下:

 

推荐阅读