diff options
Diffstat (limited to 'vis-lua.h')
| -rw-r--r-- | vis-lua.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vis-lua.h b/vis-lua.h new file mode 100644 index 0000000..b0f1293 --- /dev/null +++ b/vis-lua.h @@ -0,0 +1,22 @@ +#ifndef VIS_LUA_H +#define VIS_LUA_H + +#if CONFIG_LUA +#include <lua.h> +#include <lualib.h> +#include <lauxlib.h> +#else +typedef struct lua_State lua_State; +#endif + +#include "vis.h" + +void vis_lua_start(Vis*); +void vis_lua_quit(Vis*); +void vis_lua_file_open(Vis*, File*); +void vis_lua_file_save(Vis*, File*); +void vis_lua_file_close(Vis*, File*); +void vis_lua_win_open(Vis*, Win*); +void vis_lua_win_close(Vis*, Win*); + +#endif
\ No newline at end of file |
