From c27eacbbed0415fd97bf5521b430ffe54802646f Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 7 Apr 2010 11:06:11 +0800 Subject: [PATCH] interface changed to lua_plugin_context. --- lua/lua-plugin.h | 5 +++++ 1 file changed, 5 insertions(+) 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. -- 2.7.4