diff options
| author | Peng Wu <epico@dhcp-65-116.nay.redhat.com> | 2010-04-07 11:06:11 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2010-05-19 10:09:32 +0800 |
| commit | c27eacbbed0415fd97bf5521b430ffe54802646f (patch) | |
| tree | a4726d3ea3ad2a409e4558f24a600195b4264084 /lua | |
| parent | 55e2c5679defc8184a0ba69f31fbf4d77d5eae8f (diff) | |
| download | ibus-libpinyin-c27eacbbed0415fd97bf5521b430ffe54802646f.tar.gz ibus-libpinyin-c27eacbbed0415fd97bf5521b430ffe54802646f.tar.xz ibus-libpinyin-c27eacbbed0415fd97bf5521b430ffe54802646f.zip | |
interface changed to lua_plugin_context.
Diffstat (limited to 'lua')
| -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. |
