summaryrefslogtreecommitdiff
path: root/XSUB.h
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-10-08 10:19:27 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-10-08 10:19:27 +0000
commit93af7a870f71dbbb13443b4087703de0221add17 (patch)
treee767c53d4d4f1783640e5410f94655e45b58b3d0 /XSUB.h
parentc116a00cf797ec2e6795338ee18b88d975e760c5 (diff)
parent2269e8ecc334a5a77bdb915666547431c0171402 (diff)
downloadperl-93af7a870f71dbbb13443b4087703de0221add17.tar.gz
Merge maint-5.004 branch (5.004_03) with mainline.
MANIFEST is out of sync. p4raw-id: //depot/perl@114
Diffstat (limited to 'XSUB.h')
-rw-r--r--XSUB.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/XSUB.h b/XSUB.h
index 8cb3b86a11..b3ea825519 100644
--- a/XSUB.h
+++ b/XSUB.h
@@ -44,13 +44,15 @@
Sv = ST(1); \
else { \
/* XXX GV_ADDWARN */ \
- Sv = perl_get_sv(vn = form("%s::XS_VERSION", module), FALSE); \
+ Sv = perl_get_sv(form("%s::%s", module, \
+ vn = "XS_VERSION"), FALSE); \
if (!Sv || !SvOK(Sv)) \
- Sv = perl_get_sv(vn = form("%s::VERSION", module), FALSE); \
+ Sv = perl_get_sv(form("%s::%s", module, \
+ vn = "VERSION"), FALSE); \
} \
if (Sv && (!SvOK(Sv) || strNE(XS_VERSION, SvPV(Sv, na)))) \
- croak("%s object version %s does not match $%s %_", \
- module, XS_VERSION, vn, Sv); \
+ croak("%s object version %s does not match $%s::%s %_", \
+ module, XS_VERSION, module, vn, Sv); \
} STMT_END
#else
# define XS_VERSION_BOOTCHECK