diff options
Diffstat (limited to 'src/core.c')
-rw-r--r-- | src/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,6 +15,7 @@ | |||
15 | void time_open(lua_State *L); | 15 | void time_open(lua_State *L); |
16 | void environment_open(lua_State *L); | 16 | void environment_open(lua_State *L); |
17 | void random_open(lua_State *L); | 17 | void random_open(lua_State *L); |
18 | void term_open(lua_State *L); | ||
18 | 19 | ||
19 | /*------------------------------------------------------------------------- | 20 | /*------------------------------------------------------------------------- |
20 | * Initializes all library modules. | 21 | * Initializes all library modules. |
@@ -33,6 +34,7 @@ LUAEXPORT int luaopen_system_core(lua_State *L) { | |||
33 | lua_rawset(L, -3); | 34 | lua_rawset(L, -3); |
34 | time_open(L); | 35 | time_open(L); |
35 | random_open(L); | 36 | random_open(L); |
37 | term_open(L); | ||
36 | environment_open(L); | 38 | environment_open(L); |
37 | return 1; | 39 | return 1; |
38 | } | 40 | } |