lua_tostring (L, -1) 就可以把索引号为 -1 的数据(即栈顶的数据)转换成 string 类型输出。 在数据使用结束后,我们需要将数据pop出栈( lua_pop(L, 1) ...
確定! 回上一頁