1
0
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:
Roberto Ierusalimschy 1999-01-08 14:49:32 -02:00
parent 01772cefa5
commit 3cc4ca821e

17
linit.c Normal file
View 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();
}