summaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-06-22 10:37:01 +0800
committerPeng Wu <alexepico@gmail.com>2010-06-22 10:37:01 +0800
commita3f8f98c1c743389ffb2a5e0199cab0fb774c0d7 (patch)
treeb46f84e2b93d8fe5ba03a5b7fe6c774c2e364194 /lua
parente453b7ecacde36925771326a3eb23380dd3007c1 (diff)
downloadibus-libpinyin-a3f8f98c1c743389ffb2a5e0199cab0fb774c0d7.tar.gz
ibus-libpinyin-a3f8f98c1c743389ffb2a5e0199cab0fb774c0d7.tar.xz
ibus-libpinyin-a3f8f98c1c743389ffb2a5e0199cab0fb774c0d7.zip
re-factor ExtEditor header.
Diffstat (limited to 'lua')
-rw-r--r--lua/lua-plugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/lua-plugin.h b/lua/lua-plugin.h
index a7f37cd..a427667 100644
--- a/lua/lua-plugin.h
+++ b/lua/lua-plugin.h
@@ -31,7 +31,7 @@ LUALIB_API int (luaopen_myos) (lua_State * L);
#define LUA_IMELIB_CONTEXT "__context"
-typedef struct{
+typedef struct _lua_command_t{
const char * command_name;
const char * lua_function_name;
const char * description;
@@ -39,13 +39,13 @@ typedef struct{
const char * help; /* optional. */
} lua_command_t;
-typedef struct{
+typedef struct _lua_command_candidate_t{
const char * suggest;
const char * help;
const char * content;
} lua_command_candidate_t;
-typedef struct{
+typedef struct _lua_trigger_t{
const char * lua_function_name;
const char * description;
/*< private, skip it, and register it into Special Table directly with * wildcard. >*/