mirror of https://github.com/rusefi/lua.git
`loadlib' now an official library
This commit is contained in:
parent
7ea180af6e
commit
4734e2de05
3
lua.c
3
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
|
** Lua stand-alone interpreter
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
|
@ -73,6 +73,7 @@ static const luaL_reg lualibs[] = {
|
||||||
{"string", luaopen_string},
|
{"string", luaopen_string},
|
||||||
{"math", luaopen_math},
|
{"math", luaopen_math},
|
||||||
{"debug", luaopen_debug},
|
{"debug", luaopen_debug},
|
||||||
|
{"loadlib", luaopen_loadlib},
|
||||||
/* add your libraries here */
|
/* add your libraries here */
|
||||||
LUA_EXTRALIBS
|
LUA_EXTRALIBS
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
|
|
Loading…
Reference in New Issue