码迷,mamicode.com
首页 > 其他好文 > 详细

lua lua解读

时间:2015-08-12 16:21:16      阅读:129      评论:0      收藏:0      [点我收藏+]

标签:

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

 

lua lua解读

标签:

原文地址:http://www.cnblogs.com/quansir/p/4724653.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!