diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-01-08 14:49:32 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-01-08 14:49:32 -0200 |
commit | 3cc4ca821e4274e8c73fdb723c38e7f5f76a4ecb (patch) | |
tree | 06028c1e28cfd262231c1dda73bf9d582e86f2b9 /linit.c | |
parent | 01772cefa5217a7840254d1e7ec340dea8f0747a (diff) | |
download | lua-3cc4ca821e4274e8c73fdb723c38e7f5f76a4ecb.tar.gz lua-3cc4ca821e4274e8c73fdb723c38e7f5f76a4ecb.tar.bz2 lua-3cc4ca821e4274e8c73fdb723c38e7f5f76a4ecb.zip |
initialization module (to load libraries)
Diffstat (limited to 'linit.c')
-rw-r--r-- | linit.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/linit.c b/linit.c new file mode 100644 index 00000000..4759d49a --- /dev/null +++ b/linit.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* | ||
2 | ** $Id: linit.c,v 1.1 1999/01/08 16:47:44 roberto Exp $ | ||
3 | ** Initialization of libraries for lua.c | ||
4 | ** See Copyright Notice in lua.h | ||
5 | */ | ||
6 | |||
7 | #include "lua.h" | ||
8 | #include "lualib.h" | ||
9 | |||
10 | |||
11 | void lua_userinit (void) { | ||
12 | lua_iolibopen(); | ||
13 | lua_strlibopen(); | ||
14 | lua_mathlibopen(); | ||
15 | lua_dblibopen(); | ||
16 | } | ||
17 | |||