mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
modularise irc component
This commit is contained in:
parent
84301a29f8
commit
00a7efc69f
11 changed files with 46 additions and 8 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue