mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-06 11:12:34 +01:00
Removed two dummy functions in plugin interface.
This commit is contained in:
parent
798db7368a
commit
98aa62f637
@ -302,8 +302,6 @@ plugin_add (session *sess, char *filename, void *handle, void *init_func,
|
|||||||
pl->hexchat_hook_print_attrs = hexchat_hook_print_attrs;
|
pl->hexchat_hook_print_attrs = hexchat_hook_print_attrs;
|
||||||
|
|
||||||
/* incase new plugins are loaded on older HexChat */
|
/* incase new plugins are loaded on older HexChat */
|
||||||
pl->hexchat_dummy4 = hexchat_dummy;
|
|
||||||
pl->hexchat_dummy3 = hexchat_dummy;
|
|
||||||
pl->hexchat_dummy2 = hexchat_dummy;
|
pl->hexchat_dummy2 = hexchat_dummy;
|
||||||
pl->hexchat_dummy1 = hexchat_dummy;
|
pl->hexchat_dummy1 = hexchat_dummy;
|
||||||
|
|
||||||
|
@ -144,10 +144,12 @@ struct _hexchat_plugin
|
|||||||
int (*callback) (char *word[], hexchat_event_attrs *attrs,
|
int (*callback) (char *word[], hexchat_event_attrs *attrs,
|
||||||
void *user_data),
|
void *user_data),
|
||||||
void *userdata);
|
void *userdata);
|
||||||
void *(*hexchat_dummy4) (hexchat_plugin *ph);
|
|
||||||
void *(*hexchat_dummy3) (hexchat_plugin *ph);
|
/* If you add new functions here you should remove the corresponding number
|
||||||
|
* of dummy functions bellow. */
|
||||||
void *(*hexchat_dummy2) (hexchat_plugin *ph);
|
void *(*hexchat_dummy2) (hexchat_plugin *ph);
|
||||||
void *(*hexchat_dummy1) (hexchat_plugin *ph);
|
void *(*hexchat_dummy1) (hexchat_plugin *ph);
|
||||||
|
|
||||||
/* PRIVATE FIELDS! */
|
/* PRIVATE FIELDS! */
|
||||||
void *handle; /* from dlopen */
|
void *handle; /* from dlopen */
|
||||||
char *filename; /* loaded from */
|
char *filename; /* loaded from */
|
||||||
|
Loading…
Reference in New Issue
Block a user