1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 19:23:13 +02:00

Add local variables for buffers, fix alias creation, use of local variables $nick/$channel/$server in alias

This commit is contained in:
Sebastien Helleu
2008-10-24 15:12:32 +02:00
parent d19162626b
commit e37f7fa2b2
25 changed files with 600 additions and 203 deletions
+4
View File
@@ -423,6 +423,8 @@ struct t_weechat_plugin
const char *value);
void (*buffer_set_pointer) (struct t_gui_buffer *buffer,
const char *property, void *pointer);
char *(*buffer_string_replace_local_var) (struct t_gui_buffer *buffer,
const char *string);
/* windows */
int (*window_get_integer) (struct t_gui_window *window,
@@ -912,6 +914,8 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin);
weechat_plugin->buffer_set(__buffer, __property, __value)
#define weechat_buffer_set_pointer(__buffer, __property, __pointer) \
weechat_plugin->buffer_set_pointer(__buffer, __property, __pointer)
#define weechat_buffer_string_replace_local_var(__buffer, __string) \
weechat_plugin->buffer_string_replace_local_var(__buffer, __string)
/* windows */
#define weechat_window_get_integer(__window, __property) \