lua
Infinity_D
这个作者很懒,什么都没留下…
展开
-
LUA string库详解
转自: http://www.cnblogs.com/superchao8/archive/2011/06/20/2085023.html 1. string库中所有的字符索引从前往后是1,2,...;从后往前是-1,-2,... 2. string库中所有的function都不会直接操作字符串,而是返回一个结果 s = "[abc]" string.len(s转载 2014-05-26 16:14:56 · 426 阅读 · 0 评论 -
c++ 遍历lua table方法
//C++代码: #include #include #include using namespace std; bool popTable(lua_State* L, int idx) { try{ lua_pushnil(L); while(lua_next(L, idx) != 0){ int keyType = lu转载 2015-09-02 22:43:41 · 522 阅读 · 0 评论 -
lua5.3.3源码学习日志(1)--lstate.h
阅读,做笔记原创 2017-12-12 10:59:20 · 301 阅读 · 0 评论