diff options
Diffstat (limited to 'lfunc.c')
-rw-r--r-- | lfunc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -20,6 +20,7 @@ +// saw 创建 c closure,用在 LUA API lua_pushcclosure Closure *luaF_newCclosure (lua_State *L, int n) { Closure *c = &luaC_newobj(L, LUA_TCCL, sizeCclosure(n), NULL, 0)->cl; c->c.nupvalues = cast_byte(n); @@ -27,7 +28,7 @@ Closure *luaF_newCclosure (lua_State *L, int n) { } -// saw 创建lua closure +// saw 创建 lua closure Closure *luaF_newLclosure (lua_State *L, int n) { Closure *c = &luaC_newobj(L, LUA_TLCL, sizeLclosure(n), NULL, 0)->cl; c->l.p = NULL; |