diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -552,6 +552,7 @@ LUA_API const char *lua_pushfstring (lua_State *L, const char *fmt, ...) { } +// saw 创建 C 闭包,并设置 upvalue,如果没有upvalue,设置为轻量C函数(5.2开始引入) LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n) { lua_lock(L); if (n == 0) { |