lua/linit.c

22 lines
368 B
C

/*
** $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);
}