diff options
author | Steffen Mueller <smueller@cpan.org> | 2012-01-18 08:28:36 +0100 |
---|---|---|
committer | Steffen Mueller <smueller@cpan.org> | 2012-02-01 08:07:49 +0100 |
commit | 09186e9e1e58dd8b788d76ab953d4a4a660472c7 (patch) | |
tree | 38dcbbb5453f4aaab7c3ab32a211335364da3e77 /ext/XS-Typemap | |
parent | 853ee02d8f29aecf915b98660973b60661e068fe (diff) | |
download | perl-09186e9e1e58dd8b788d76ab953d4a4a660472c7.tar.gz |
Inline the XS-Typemap typemap file
Diffstat (limited to 'ext/XS-Typemap')
-rw-r--r-- | ext/XS-Typemap/Typemap.xs | 31 | ||||
-rw-r--r-- | ext/XS-Typemap/typemap | 26 |
2 files changed, 31 insertions, 26 deletions
diff --git a/ext/XS-Typemap/Typemap.xs b/ext/XS-Typemap/Typemap.xs index 199dc89b24..93b78f39f0 100644 --- a/ext/XS-Typemap/Typemap.xs +++ b/ext/XS-Typemap/Typemap.xs @@ -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 index 56ed48eb6b..0000000000 --- a/ext/XS-Typemap/typemap +++ /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 |