浏览代码

`loadlib' now an official library

Roberto Ierusalimschy 22 年之前
父节点
当前提交
4734e2de05
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lua.c

+ 2 - 1
lua.c

@@ -1,5 +1,5 @@
 /*
-** $Id: lua.c,v 1.117 2003/03/07 13:21:31 roberto Exp roberto $
+** $Id: lua.c,v 1.118 2003/03/11 12:24:34 roberto Exp roberto $
 ** Lua stand-alone interpreter
 ** See Copyright Notice in lua.h
 */
@@ -73,6 +73,7 @@ static const luaL_reg lualibs[] = {
   {"string", luaopen_string},
   {"math", luaopen_math},
   {"debug", luaopen_debug},
+  {"loadlib", luaopen_loadlib},
   /* add your libraries here */
   LUA_EXTRALIBS
   {NULL, NULL}