1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-12-22 15:48:52 -05:00

Removed two dummy functions in plugin interface.

This commit is contained in:
Diogo Sousa 2013-07-09 22:04:07 +01:00
parent 798db7368a
commit 98aa62f637
2 changed files with 4 additions and 4 deletions

View File

@ -302,8 +302,6 @@ plugin_add (session *sess, char *filename, void *handle, void *init_func,
pl->hexchat_hook_print_attrs = hexchat_hook_print_attrs;
/* 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_dummy1 = hexchat_dummy;

View File

@ -144,10 +144,12 @@ struct _hexchat_plugin
int (*callback) (char *word[], hexchat_event_attrs *attrs,
void *user_data),
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_dummy1) (hexchat_plugin *ph);
/* PRIVATE FIELDS! */
void *handle; /* from dlopen */
char *filename; /* loaded from */