diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-03-17 10:01:48 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-03-17 10:01:48 -0300 |
commit | 4734e2de0524cc1896fb8605b9c81c195383eb25 (patch) | |
tree | d3bff3cdcb7a78803af7afbeaf6e5526440a8dc9 | |
parent | 7ea180af6eea4d3ab0a9afe03836e53e0b3e5cde (diff) | |
download | lua-4734e2de0524cc1896fb8605b9c81c195383eb25.tar.gz lua-4734e2de0524cc1896fb8605b9c81c195383eb25.tar.bz2 lua-4734e2de0524cc1896fb8605b9c81c195383eb25.zip |
`loadlib' now an official library
-rw-r--r-- | lua.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.c,v 1.117 2003/03/07 13:21:31 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.118 2003/03/11 12:24:34 roberto Exp roberto $ |
3 | ** Lua stand-alone interpreter | 3 | ** Lua stand-alone interpreter |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -73,6 +73,7 @@ static const luaL_reg lualibs[] = { | |||
73 | {"string", luaopen_string}, | 73 | {"string", luaopen_string}, |
74 | {"math", luaopen_math}, | 74 | {"math", luaopen_math}, |
75 | {"debug", luaopen_debug}, | 75 | {"debug", luaopen_debug}, |
76 | {"loadlib", luaopen_loadlib}, | ||
76 | /* add your libraries here */ | 77 | /* add your libraries here */ |
77 | LUA_EXTRALIBS | 78 | LUA_EXTRALIBS |
78 | {NULL, NULL} | 79 | {NULL, NULL} |