summaryrefslogtreecommitdiff
path: root/Lib/perl5/perlinit.swg
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2022-01-18 15:36:37 +1300
committerOlly Betts <ojwbetts@gmail.com>2022-01-19 10:07:30 +1300
commit748a9a5452568b90edba7162e5b9376d4837529d (patch)
treedb5ba4ea6ef1393b57b1622e5e1abfe111bbd2b6 /Lib/perl5/perlinit.swg
parent8c608d646c611820ad58c85315f23b4499331de7 (diff)
downloadswig-748a9a5452568b90edba7162e5b9376d4837529d.tar.gz
[perl] Require at least Perl 5.8.0
As discussed and agreed in #1629, it's become hard to test with Perl 5.6 or earlier, such old versions are no longer in active use, and 4.1.0 is an appropriate time to make such a change. I've dropped the compatibility code that was obvious to me, but there's probably more that can be cleaned up now.
Diffstat (limited to 'Lib/perl5/perlinit.swg')
-rw-r--r--Lib/perl5/perlinit.swg4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/perl5/perlinit.swg b/Lib/perl5/perlinit.swg
index b49040d26..c26b93fad 100644
--- a/Lib/perl5/perlinit.swg
+++ b/Lib/perl5/perlinit.swg
@@ -4,15 +4,11 @@
#ifdef __cplusplus
extern "C"
#endif
-#ifndef PERL_OBJECT
#ifndef MULTIPLICITY
SWIGEXPORT void SWIG_init (CV* cv);
#else
SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
#endif
-#else
-SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);
-#endif
%}
/* Module initialization function */