From 712623547f7e6fffc1bda625399ac54de87b6e2d Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 27 Aug 2010 15:59:06 +0200 Subject: Add new functions in plugin API (hashtable_get_string, hook_info_hashtable, info_get_hashtable), add IRC info_hashtable "irc_parse_message" Note: tcl >= 8.5 is now required (for tcl plugin). --- src/plugins/scripts/tcl/weechat-tcl.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/plugins/scripts/tcl/weechat-tcl.h') diff --git a/src/plugins/scripts/tcl/weechat-tcl.h b/src/plugins/scripts/tcl/weechat-tcl.h index 78972233e..d3a7fd312 100644 --- a/src/plugins/scripts/tcl/weechat-tcl.h +++ b/src/plugins/scripts/tcl/weechat-tcl.h @@ -35,8 +35,13 @@ extern struct t_plugin_script *tcl_current_script; extern struct t_plugin_script *tcl_registered_script; extern const char *tcl_current_script_filename; +extern Tcl_Obj *weechat_tcl_hashtable_to_dict (Tcl_Interp *interp, + struct t_hashtable *hashtable); +extern struct t_hashtable *weechat_tcl_dict_to_hashtable (Tcl_Interp *interp, + Tcl_Obj *dict, + int hashtable_size); extern void *weechat_tcl_exec (struct t_plugin_script *script, - int ret_type, const char *function, - char **argv); + int ret_type, const char *function, + const char *format, void **argv); #endif /* __WEECHAT_TCL_H */ -- cgit v1.2.3