summaryrefslogtreecommitdiff
path: root/ext/XS-APItest/APItest.pm
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-10-20 16:13:47 +0200
committerNicholas Clark <nick@ccl4.org>2010-10-21 08:42:22 +0200
commitb58f046e90bbd29d8ce6f6d13cd31c2b86d868e0 (patch)
treefc09649d1b26bab6102f76bb35b10077f8507e5b /ext/XS-APItest/APItest.pm
parent6642cd871fb3dfba83e01e1a65bc2b4aa094387f (diff)
downloadperl-b58f046e90bbd29d8ce6f6d13cd31c2b86d868e0.tar.gz
Convert Hash::Util, XS::APItest and XS::Typemap to XSLoader.
None are using any DynaLoader specific functionality.
Diffstat (limited to 'ext/XS-APItest/APItest.pm')
-rw-r--r--ext/XS-APItest/APItest.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/XS-APItest/APItest.pm b/ext/XS-APItest/APItest.pm
index bb95682372..fdc5b5498a 100644
--- a/ext/XS-APItest/APItest.pm
+++ b/ext/XS-APItest/APItest.pm
@@ -5,7 +5,7 @@ use strict;
use warnings;
use Carp;
-use base 'DynaLoader';
+require XSLoader;
# Export everything since these functions are only used by a test script
# Export subpackages too - in effect, export all their routines into us, then
@@ -50,7 +50,7 @@ sub import {
}
}
-our $VERSION = '0.23';
+our $VERSION = '0.24';
use vars '$WARNINGS_ON_BOOTSTRAP';
use vars map "\$${_}_called_PP", qw(BEGIN UNITCHECK CHECK INIT END);
@@ -87,11 +87,11 @@ END {
}
if ($WARNINGS_ON_BOOTSTRAP) {
- bootstrap XS::APItest $VERSION;
+ XSLoader::load();
} else {
# More CHECK and INIT blocks that could warn:
local $^W;
- bootstrap XS::APItest $VERSION;
+ XSLoader::load();
}
1;