diff options
Diffstat (limited to 'linit.c')
| -rw-r--r-- | linit.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: linit.c,v 1.1 1999/01/08 16:49:32 roberto Exp roberto $ | 2 | ** $Id: linit.c,v 1.2 1999/11/22 13:12:07 roberto Exp roberto $ |
| 3 | ** Initialization of libraries for lua.c | 3 | ** Initialization of libraries for lua.c |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -11,9 +11,11 @@ | |||
| 11 | 11 | ||
| 12 | 12 | ||
| 13 | void lua_userinit (lua_State *L) { | 13 | void lua_userinit (lua_State *L) { |
| 14 | lua_beginblock(L); | ||
| 14 | lua_iolibopen(L); | 15 | lua_iolibopen(L); |
| 15 | lua_strlibopen(L); | 16 | lua_strlibopen(L); |
| 16 | lua_mathlibopen(L); | 17 | lua_mathlibopen(L); |
| 17 | lua_dblibopen(L); | 18 | lua_dblibopen(L); |
| 19 | lua_endblock(L); | ||
| 18 | } | 20 | } |
| 19 | 21 | ||
