lua lua解读
2015-08-12 15:58
447 查看
1、线程状态宏定义(thread status)
#define LUA_OK 0
#define LUA_YIELD 1
#define LUA_ERRRUN 2
#define LUA_ERRSYNTAX 3
#define LUA_ERRMEM 4
#define LUA_ERRGCMM 5
#define LUA_ERRERR 6
2、基本类型(basic types)
#define LUA_TNONE (-1)
#define LUA_TNIL 0
#define LUA_TBOOLEAN 1
#define LUA_TLIGHTUSERDATA 2
#define LUA_TNUMBER 3
#define LUA_TSTRING 4
#define LUA_TTABLE 5
#define LUA_TFUNCTION 6
#define LUA_TUSERDATA 7
#define LUA_TTHREAD 8
#define LUA_NUMTAGS 9
#define LUA_OK 0
#define LUA_YIELD 1
#define LUA_ERRRUN 2
#define LUA_ERRSYNTAX 3
#define LUA_ERRMEM 4
#define LUA_ERRGCMM 5
#define LUA_ERRERR 6
2、基本类型(basic types)
#define LUA_TNONE (-1)
#define LUA_TNIL 0
#define LUA_TBOOLEAN 1
#define LUA_TLIGHTUSERDATA 2
#define LUA_TNUMBER 3
#define LUA_TSTRING 4
#define LUA_TTABLE 5
#define LUA_TFUNCTION 6
#define LUA_TUSERDATA 7
#define LUA_TTHREAD 8
#define LUA_NUMTAGS 9
相关文章推荐
- lua Table的插入简单实现
- lua luaconf解读
- 在mac上使用protoc-gen-lua从proto文件生成lua
- 【深入Lua】理解Lua中最强大的特性-coroutine(协程)
- Lua 标准库 - 基本函数(base function)
- [LeetCode] Evaluate Reverse Polish Notation
- Evaluate Reverse Polish Notation
- 解决ubuntu下编译安装Lua时提示lua.c:80:31: fatal error: readline/readline.h: 没有那个文件或目录
- Mahout推荐系统引擎RecommenderEvaluator源码解析
- lua 排序
- 【Lua】weak table
- C语言解释器LUA
- lua的string.gsub初使用
- 【Lua】基本函数库
- Lua-UserData(用户自定义类型)
- 从Lua调用C
- 找不到lua_open
- ulua+PureMVC框架简单热更新使用
- Lua学习笔记(六):协程
- Lua中table的删除