vis: move text object definitions to separate file
[vis.git] / vis-lua.h
blob95cc1e309e1b0365309f2c66687a289f1106af5e
1 #ifndef VIS_LUA_H
2 #define VIS_LUA_H
4 #if CONFIG_LUA
5 #include <lua.h>
6 #include <lualib.h>
7 #include <lauxlib.h>
8 #else
9 typedef struct lua_State lua_State;
10 #endif
12 #include "vis.h"
14 void vis_lua_start(Vis*);
15 void vis_lua_quit(Vis*);
16 void vis_lua_file_open(Vis*, File*);
17 void vis_lua_file_save(Vis*, File*);
18 void vis_lua_file_close(Vis*, File*);
19 void vis_lua_win_open(Vis*, Win*);
20 void vis_lua_win_close(Vis*, Win*);
22 #endif