diff options
author | Timo Sirainen <cras@irssi.org> | 2001-10-20 13:19:25 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-10-20 13:19:25 +0000 |
commit | a5b32b70a7db8ce41a37d9ee6fdef85300130351 (patch) | |
tree | e02a223f3a9fe2e84148a7de6cc282560476f14a /src/perl/module.h | |
parent | 476b5ec863c49bb9a85eda23fbba31cf0d3a443c (diff) | |
download | irssi-a5b32b70a7db8ce41a37d9ee6fdef85300130351.zip |
Added API version check between perl module and perl libs.
perl_scripts_deinit() now destroys all dynamically loaded libraries (Irssi,
Irssi::Irc, Irssi::UI too) so /UNLOAD perl should now release more memory,
this also makes /unload perl, /load perl work again.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1859 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/module.h')
-rw-r--r-- | src/perl/module.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/perl/module.h b/src/perl/module.h index 0e95f13d..831ded91 100644 --- a/src/perl/module.h +++ b/src/perl/module.h @@ -19,3 +19,7 @@ extern PerlInterpreter *my_perl; /* must be called my_perl or some perl implemen #include "common.h" #define MODULE_NAME "perl/core" + +/* Change this every time when some API changes between irssi's perl module + and irssi's perl libraries. */ +#define IRSSI_PERL_API_VERSION 20011020 |