aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-17 10:01:48 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-17 10:01:48 -0300
commit4734e2de0524cc1896fb8605b9c81c195383eb25 (patch)
treed3bff3cdcb7a78803af7afbeaf6e5526440a8dc9
parent7ea180af6eea4d3ab0a9afe03836e53e0b3e5cde (diff)
downloadlua-4734e2de0524cc1896fb8605b9c81c195383eb25.tar.gz
lua-4734e2de0524cc1896fb8605b9c81c195383eb25.tar.bz2
lua-4734e2de0524cc1896fb8605b9c81c195383eb25.zip
`loadlib' now an official library
-rw-r--r--lua.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua.c b/lua.c
index 9c1a9097..8a96a699 100644
--- a/lua.c
+++ b/lua.c
@@ -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}