mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
Merge pull request #393 from ailin-nemui/moduleversion-perl
forward ABI to perl modules
This commit is contained in:
commit
62cab9d662
11 changed files with 59 additions and 2 deletions
|
|
@ -17,4 +17,4 @@ extern PerlInterpreter *my_perl; /* must be called my_perl or some perl implemen
|
|||
|
||||
/* Change this every time when some API changes between irssi's perl module
|
||||
(or irssi itself) and irssi's perl libraries. */
|
||||
#define IRSSI_PERL_API_VERSION 20011214
|
||||
#define IRSSI_PERL_API_VERSION (20011214 + IRSSI_ABI_VERSION)
|
||||
|
|
|
|||
|
|
@ -479,3 +479,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