diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-13 16:53:39 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-13 16:53:39 -0800 |
commit | 51378afb2a8276020386a18d5572958fff157bdc (patch) | |
tree | 03c2508b21b68e7880e5cd470350c826c8221774 /src/lua.c | |
parent | c34db20756736f5730c3b95b13747fd24544befc (diff) | |
download | teliva-51378afb2a8276020386a18d5572958fff157bdc.tar.gz |
.
Diffstat (limited to 'src/lua.c')
-rw-r--r-- | src/lua.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lua.c b/src/lua.c index 500f64d..337341d 100644 --- a/src/lua.c +++ b/src/lua.c @@ -290,21 +290,15 @@ static int handle_image (lua_State *L, char **argv, int n) { status = docall(L, narg, 0); lua_getglobal(L, "teliva_program"); int table = lua_gettop(L); -//? endwin(); /* parse and load each binding in teliva_program */ for (lua_pushnil(L); lua_next(L, table) != 0; lua_pop(L, 1)) { const char* key = lua_tostring(L, -2); const char* value = lua_tostring(L, -1); -//? printf("===\nkey: %s\n", key); -//? printf("value: %s\n", value); dostring(L, value, key); -//? stackDump(L); } /* call main() */ lua_getglobal(L, "main"); docall(L, 0, 1); -//? stackDump(L); -//? exit(1); return 0; } |