1,lua_State在Lua中的定义如下:
struct lua_State {
CommonHeader;
lu_byte status;
StkId top; /* first free slot in the stack */
global_State *l_G;
CallInfo *ci; /* call info for current function*/
const Instruction *oldpc; /* last pc traced */
StkId stack_last;
/* last free slot in the stack*/
StkId stack; /* stack base */
nginx的worker进程如何创建lua虚拟机的?
最新推荐文章于 2024-11-12 09:01:29 发布