mirror of
https://github.com/irssi/irssi.git
synced 2026-08-13 13:42:13 +02:00
module check irssi version
Add explicit checks into every module to match the ABI version defined in common.h
This commit is contained in:
parent
4dc2bab4b4
commit
ff8ccaf08b
10 changed files with 58 additions and 1 deletions
|
|
@ -466,3 +466,8 @@ void perl_core_deinit(void)
|
|||
signal_remove("script error", (SIGNAL_FUNC) sig_script_error);
|
||||
PERL_SYS_TERM();
|
||||
}
|
||||
|
||||
void perl_core_abicheck(int *version)
|
||||
{
|
||||
*version = IRSSI_ABI_VERSION;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -278,3 +278,8 @@ void fe_perl_deinit(void)
|
|||
|
||||
perl_core_print_script_error(TRUE);
|
||||
}
|
||||
|
||||
void fe_perl_abicheck(int *version)
|
||||
{
|
||||
*version = IRSSI_ABI_VERSION;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue