mirror of
https://github.com/lua/lua.git
synced 2025-01-14 05:43:00 +08:00
initialization module (to load libraries)
This commit is contained in:
parent
01772cefa5
commit
3cc4ca821e
17
linit.c
Normal file
17
linit.c
Normal file
@ -0,0 +1,17 @@
|
||||
/*
|
||||
** $Id: linit.c,v 1.1 1999/01/08 16:47:44 roberto Exp $
|
||||
** Initialization of libraries for lua.c
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
||||
#include "lua.h"
|
||||
#include "lualib.h"
|
||||
|
||||
|
||||
void lua_userinit (void) {
|
||||
lua_iolibopen();
|
||||
lua_strlibopen();
|
||||
lua_mathlibopen();
|
||||
lua_dblibopen();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user