diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2024-06-20 22:43:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 22:43:06 +0200 |
commit | c1a64c1b75f97cef97965b3bd9a941564a6270bd (patch) | |
tree | b9a92dff6462abd5859c3c76f19748fad5d6c025 /src/core.c | |
parent | 47c24eed0191f8f72646be63dee94ac2b35eb062 (diff) | |
parent | b87e6d6d762ee823e81dd7a8984f330eb4018fd8 (diff) | |
download | luasystem-c1a64c1b75f97cef97965b3bd9a941564a6270bd.tar.gz luasystem-c1a64c1b75f97cef97965b3bd9a941564a6270bd.tar.bz2 luasystem-c1a64c1b75f97cef97965b3bd9a941564a6270bd.zip |
Merge pull request #21 from lunarmodules/terminal
Diffstat (limited to 'src/core.c')
-rw-r--r-- | src/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -16,6 +16,7 @@ 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 | void term_open(lua_State *L); |
19 | void bitflags_open(lua_State *L); | ||
19 | 20 | ||
20 | /*------------------------------------------------------------------------- | 21 | /*------------------------------------------------------------------------- |
21 | * Initializes all library modules. | 22 | * Initializes all library modules. |
@@ -32,6 +33,7 @@ LUAEXPORT int luaopen_system_core(lua_State *L) { | |||
32 | lua_pushboolean(L, 0); | 33 | lua_pushboolean(L, 0); |
33 | #endif | 34 | #endif |
34 | lua_rawset(L, -3); | 35 | lua_rawset(L, -3); |
36 | bitflags_open(L); // must be first, used by others | ||
35 | time_open(L); | 37 | time_open(L); |
36 | random_open(L); | 38 | random_open(L); |
37 | term_open(L); | 39 | term_open(L); |