diff options
Diffstat (limited to 'lua/lua-plugin.h')
| -rw-r--r-- | lua/lua-plugin.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/lua-plugin.h b/lua/lua-plugin.h index 2ffdeed..3aa73d6 100644 --- a/lua/lua-plugin.h +++ b/lua/lua-plugin.h @@ -15,6 +15,11 @@ typedef struct{ const char * help; /* optional. */ } lua_command_t; +typedef struct{ + lua_State * L; + GArray * lua_commands; /* Array of lua_command_t. */ +} lua_plugin_context_t; + /** * retrieve all available lua plugin commands. * return array of command informations of type lua_command_t. |
