소스 검색

`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}