projects
/
platform
/
upstream
/
ibus-libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55e2c56
)
interface changed to lua_plugin_context.
author
Peng Wu
<epico@dhcp-65-116.nay.redhat.com>
Wed, 7 Apr 2010 03:06:11 +0000
(11:06 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Wed, 19 May 2010 02:09:32 +0000
(10:09 +0800)
lua/lua-plugin.h
patch
|
blob
|
history
diff --git
a/lua/lua-plugin.h
b/lua/lua-plugin.h
index
2ffdeed
..
3aa73d6
100644
(file)
--- 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.