mirror of
https://github.com/lua/lua
synced 2024-11-26 14:51:21 +03:00
3e38fd2463
it.
22 lines
368 B
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);
|
|
}
|
|
|