From 3cc4ca821e4274e8c73fdb723c38e7f5f76a4ecb Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 8 Jan 1999 14:49:32 -0200 Subject: [PATCH] initialization module (to load libraries) --- linit.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 linit.c diff --git a/linit.c b/linit.c new file mode 100644 index 00000000..4759d49a --- /dev/null +++ b/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(); +} +