diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-19 19:11:03 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-19 19:11:03 -0800 |
commit | b43747ecef13a7cbe5eb5842d03d803165a473b3 (patch) | |
tree | dbecfd6324961dd4c1debfc3fb1128acf5794a55 /src/lualib.h | |
parent | 9837d327f5617852167d82ed589c9342539072ac (diff) | |
download | teliva-b43747ecef13a7cbe5eb5842d03d803165a473b3.tar.gz |
inline lcurses maximally rather than minimally
Until now we had just the bare minimum bindings needed for the demos built so far. Now we have all of lcurses building in place with minimal changes. The changes in this commit can run hanoi.lua when inlined into Lua 5.1, but don't work with Teliva.
Diffstat (limited to 'src/lualib.h')
-rw-r--r-- | src/lualib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lualib.h b/src/lualib.h index 02924dd..e861154 100644 --- a/src/lualib.h +++ b/src/lualib.h @@ -33,8 +33,8 @@ LUALIB_API int (luaopen_string) (lua_State *L); #define LUA_MATHLIBNAME "math" LUALIB_API int (luaopen_math) (lua_State *L); -#define LUA_CURSESLIBNAME "curses" -LUALIB_API int (luaopen_curses) (lua_State *L); +#define LUA_CURSESLIBNAME "curses_c" +LUALIB_API int (luaopen_curses_c) (lua_State *L); #define LUA_DBLIBNAME "debug" LUALIB_API int (luaopen_debug) (lua_State *L); |