Browse Source

initialization module (to load libraries)

v5-2
Roberto Ierusalimschy 26 years ago
parent
commit
3cc4ca821e
  1. 17
      linit.c

17
linit.c

@ -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…
Cancel
Save