summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/lua/weechat-lua.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scripts/lua/weechat-lua.h')
-rw-r--r--src/plugins/scripts/lua/weechat-lua.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/plugins/scripts/lua/weechat-lua.h b/src/plugins/scripts/lua/weechat-lua.h
index fe5c11fc1..ce7460bd8 100644
--- a/src/plugins/scripts/lua/weechat-lua.h
+++ b/src/plugins/scripts/lua/weechat-lua.h
@@ -36,8 +36,13 @@ extern struct t_plugin_script *lua_registered_script;
extern const char *lua_current_script_filename;
extern lua_State *lua_current_interpreter;
-extern void *weechat_lua_exec (struct t_plugin_script *script,
- int ret_type, const char *function,
- char **argv);
+extern void weechat_lua_pushhashtable (lua_State *interpreter,
+ struct t_hashtable *hashtable);
+extern struct t_hashtable *weechat_lua_tohashtable (lua_State *interpreter,
+ int index,
+ int hashtable_size);
+extern void *weechat_lua_exec (struct t_plugin_script *script, int ret_type,
+ const char *function,
+ const char *format, void **argv);
#endif /* __WEECHAT_LUA_H */