This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Inline the XS-Typemap typemap file
authorSteffen Mueller <smueller@cpan.org>
Wed, 18 Jan 2012 07:28:36 +0000 (08:28 +0100)
committerSteffen Mueller <smueller@cpan.org>
Wed, 1 Feb 2012 07:07:49 +0000 (08:07 +0100)
MANIFEST
ext/XS-Typemap/Typemap.xs
ext/XS-Typemap/typemap [deleted file]

index 888b046..ea9b806 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -4022,7 +4022,6 @@ ext/XS-Typemap/Makefile.PL        XS::Typemap extension
 ext/XS-Typemap/README          XS::Typemap extension
 ext/XS-Typemap/stdio.c         XS::Typemap extension
 ext/XS-Typemap/t/Typemap.t     test that typemaps work
-ext/XS-Typemap/typemap         XS::Typemap extension
 ext/XS-Typemap/Typemap.pm      XS::Typemap extension
 ext/XS-Typemap/Typemap.xs      XS::Typemap extension
 fakesdio.h                     stdio in terms of PerlIO
index 199dc89..93b78f3 100644 (file)
@@ -68,6 +68,37 @@ MODULE = XS::Typemap   PACKAGE = XS::Typemap
 
 PROTOTYPES: DISABLE
 
+TYPEMAP: <<END_OF_TYPEMAP
+
+# Typemap file for typemap testing
+# includes bonus typemap entries
+# Mainly so that all the standard typemaps can be exercised even when
+# there is not a corresponding type explicitly identified in the standard
+# typemap
+
+svtype          T_ENUM
+intRef *        T_PTRREF
+intRef          T_IV
+intObj *        T_PTROBJ
+intObj          T_IV
+intRefIv *      T_REF_IV_PTR
+intRefIv        T_IV
+intArray *      T_ARRAY
+intOpq          T_IV
+intOpq   *      T_OPAQUEPTR
+intUnsigned     T_U_INT
+intTINT         T_INT
+intTLONG        T_LONG
+shortOPQ        T_OPAQUE
+shortOPQ *      T_OPAQUEPTR
+astruct *       T_OPAQUEPTR
+AV_FIXED *     T_AVREF_REFCOUNT_FIXED
+HV_FIXED *     T_HVREF_REFCOUNT_FIXED
+CV_FIXED *     T_CVREF_REFCOUNT_FIXED
+SVREF_FIXED    T_SVREF_REFCOUNT_FIXED
+
+END_OF_TYPEMAP
+
 =head1 TYPEMAPS
 
 The more you think about interfacing between two languages, the more
diff --git a/ext/XS-Typemap/typemap b/ext/XS-Typemap/typemap
deleted file mode 100644 (file)
index 56ed48e..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-# Typemap file for typemap testing
-# includes bonus typemap entries
-# Mainly so that all the standard typemaps can be exercised even when
-# there is not a corresponding type explicitly identified in the standard
-# typemap
-
-svtype          T_ENUM
-intRef *        T_PTRREF
-intRef          T_IV
-intObj *        T_PTROBJ
-intObj          T_IV
-intRefIv *      T_REF_IV_PTR
-intRefIv        T_IV
-intArray *      T_ARRAY
-intOpq          T_IV
-intOpq   *      T_OPAQUEPTR
-intUnsigned     T_U_INT
-intTINT         T_INT
-intTLONG        T_LONG
-shortOPQ        T_OPAQUE
-shortOPQ *      T_OPAQUEPTR
-astruct *       T_OPAQUEPTR
-AV_FIXED *     T_AVREF_REFCOUNT_FIXED
-HV_FIXED *     T_HVREF_REFCOUNT_FIXED
-CV_FIXED *     T_CVREF_REFCOUNT_FIXED
-SVREF_FIXED    T_SVREF_REFCOUNT_FIXED