summaryrefslogtreecommitdiff
path: root/objXSUB.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-26 06:31:10 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-26 06:31:10 +0000
commit1571675a79745e7e3690e10ecdcf919c638d572b (patch)
treebcde2527119a19f04043c5a69c3f7e734361bad6 /objXSUB.h
parentb46bc2b69fd0825253e7e513bb1c568567aa6ab0 (diff)
downloadperl-1571675a79745e7e3690e10ecdcf919c638d572b.tar.gz
support for version vectors in UNIVERSAL::VERSION(), so that
C<use Foo v1.2.3> etc., work; tests for the same TODO: XS_VERSION_BOOTCHECK needs to be revisited in light of this p4raw-id: //depot/perl@5265
Diffstat (limited to 'objXSUB.h')
-rw-r--r--objXSUB.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/objXSUB.h b/objXSUB.h
index 44dc1e9238..86200bc9a1 100644
--- a/objXSUB.h
+++ b/objXSUB.h
@@ -1737,6 +1737,10 @@
#define Perl_sv_vsetpvfn pPerl->Perl_sv_vsetpvfn
#undef sv_vsetpvfn
#define sv_vsetpvfn Perl_sv_vsetpvfn
+#undef Perl_str_to_version
+#define Perl_str_to_version pPerl->Perl_str_to_version
+#undef str_to_version
+#define str_to_version Perl_str_to_version
#undef Perl_swash_init
#define Perl_swash_init pPerl->Perl_swash_init
#undef swash_init