mirror of https://github.com/lua/lua.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
368 B
21 lines
368 B
/*
|
|
** $Id: linit.c,v 1.2 1999/11/22 13:12:07 roberto Exp roberto $
|
|
** Initialization of libraries for lua.c
|
|
** See Copyright Notice in lua.h
|
|
*/
|
|
|
|
#define LUA_REENTRANT
|
|
|
|
#include "lua.h"
|
|
#include "lualib.h"
|
|
|
|
|
|
void lua_userinit (lua_State *L) {
|
|
lua_beginblock(L);
|
|
lua_iolibopen(L);
|
|
lua_strlibopen(L);
|
|
lua_mathlibopen(L);
|
|
lua_dblibopen(L);
|
|
lua_endblock(L);
|
|
}
|
|
|
|
|