summaryrefslogtreecommitdiffstats
path: root/lua/lua-plugin.h
diff options
context:
space:
mode:
authorPeng Wu <epico@dhcp-65-116.nay.redhat.com>2010-04-14 17:56:47 +0800
committerPeng Wu <alexepico@gmail.com>2010-05-19 10:09:32 +0800
commit7cf2505a5790195814e05e4a26f40fe8319d5e67 (patch)
tree224234d472d7b5e4708a8ec2b10ff244f712e3a5 /lua/lua-plugin.h
parentaae2c566368ddd45a60b47a4b571f845d7a19b01 (diff)
downloadibus-libpinyin-7cf2505a5790195814e05e4a26f40fe8319d5e67.tar.gz
ibus-libpinyin-7cf2505a5790195814e05e4a26f40fe8319d5e67.tar.xz
ibus-libpinyin-7cf2505a5790195814e05e4a26f40fe8319d5e67.zip
lua extension (ime.register_command) in progress.
Diffstat (limited to 'lua/lua-plugin.h')
-rw-r--r--lua/lua-plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/lua-plugin.h b/lua/lua-plugin.h
index 6284f02..d7118d6 100644
--- a/lua/lua-plugin.h
+++ b/lua/lua-plugin.h
@@ -68,9 +68,9 @@ gboolean ibus_engine_plugin_add_command(IBusEnginePlugin * plugin, lua_command_t
/**
* retrieve all available lua plugin commands.
- * return array of command informations of type lua_command_t.
+ * return array of command informations of type lua_command_t without copies.
*/
-GArray * ibus_engine_plugin_get_available_commands(IBusEnginePlugin * plugin);
+const GArray * ibus_engine_plugin_get_available_commands(IBusEnginePlugin * plugin);
/**
* Lookup a special command in ime lua extension.