modularise irc component

This commit is contained in:
Ailin Nemui 2019-07-17 13:37:19 +02:00
commit 00a7efc69f
11 changed files with 46 additions and 8 deletions

View file

@ -24,6 +24,12 @@
# define MODULE_IS_STATIC(rec) TRUE
#endif
#define MODULE_ABICHECK(fn_modulename) \
void fn_modulename ## _abicheck(int *version) \
{ \
*version = IRSSI_ABI_VERSION; \
}
enum {
MODULE_ERROR_ALREADY_LOADED,
MODULE_ERROR_LOAD,