summaryrefslogtreecommitdiff
path: root/dist/ExtUtils-ParseXS
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-01-24 14:41:02 -0700
committerKarl Williamson <public@khwilliamson.com>2013-01-24 19:04:48 -0700
commitf703fc96a75eab3db924e41a52531905784836de (patch)
tree3e1d1202c4d1a4efaa959f0af21a57e7babfcacd /dist/ExtUtils-ParseXS
parente58c5aaf5fae1951e56c0433da91fbbfb31b620c (diff)
downloadperl-f703fc96a75eab3db924e41a52531905784836de.tar.gz
Fix various minor pod issues
These were all uncovered by the new Pod::Checker, not yet in core. Fixing these will speed up debugging the new Checker.
Diffstat (limited to 'dist/ExtUtils-ParseXS')
-rw-r--r--dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm6
-rw-r--r--dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm10
-rw-r--r--dist/ExtUtils-ParseXS/lib/perlxstypemap.pod8
3 files changed, 12 insertions, 12 deletions
diff --git a/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm b/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
index d0089f8c00..a847a14a40 100644
--- a/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
+++ b/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
@@ -6,7 +6,7 @@ use File::Spec;
use lib qw( lib );
use ExtUtils::ParseXS::Constants ();
-our $VERSION = '3.18';
+our $VERSION = '3.19';
our (@ISA, @EXPORT_OK);
@ISA = qw(Exporter);
@@ -286,7 +286,7 @@ Process all typemap files.
=item * Arguments
my $typemaps_object = process_typemaps( $args{typemap}, $pwd );
-
+
List of two elements: C<typemap> element from C<%args>; current working
directory.
@@ -335,7 +335,7 @@ C<process_typemaps()> with respect to its fourth output, C<$output_expr_ref>.
=item * Arguments
%targetable = make_targetable($output_expr_ref);
-
+
Single hash reference: the fourth such ref returned by C<process_typemaps()>.
=item * Return Value
diff --git a/dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm b/dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
index 2768ef0e08..b9a4358948 100644
--- a/dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
+++ b/dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
@@ -2,7 +2,7 @@ package ExtUtils::Typemaps;
use 5.006001;
use strict;
use warnings;
-our $VERSION = '3.18';
+our $VERSION = '3.19';
#use Carp qw(croak);
require ExtUtils::ParseXS;
@@ -23,7 +23,7 @@ ExtUtils::Typemaps - Read/Write/Modify Perl/XS typemap files
# $typemap = ExtUtils::Typemaps->new();
# alternatively create an in-memory typemap by parsing a string
# $typemap = ExtUtils::Typemaps->new(string => $sometypemap);
-
+
# add a mapping
$typemap->add_typemap(ctype => 'NV', xstype => 'T_NV');
$typemap->add_inputmap(
@@ -34,13 +34,13 @@ ExtUtils::Typemaps - Read/Write/Modify Perl/XS typemap files
);
$typemap->add_string(string => $typemapstring);
# will be parsed and merged
-
+
# remove a mapping (same for remove_typemap and remove_outputmap...)
$typemap->remove_inputmap(xstype => 'SomeType');
-
+
# save a typemap to a file
$typemap->write(file => 'anotherfile.map');
-
+
# merge the other typemap into this one
$typemap->merge(typemap => $another_typemap);
diff --git a/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod b/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod
index 67ddadefef..94bd037e34 100644
--- a/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod
+++ b/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod
@@ -95,11 +95,11 @@ strings of the C<char *> type to Perl scalars/strings:
TYPEMAP
char * T_PV
-
+
INPUT
T_PV
$var = ($type)SvPV_nolen($arg)
-
+
OUTPUT
T_PV
sv_setpv((SV*)$arg, $var);
@@ -117,7 +117,7 @@ that type:
TYPEMAP
Net_Config T_PTROBJ_SPECIAL
-
+
INPUT
T_PTROBJ_SPECIAL
if (sv_derived_from($arg, \"${(my $ntt=$ntype)=~s/_/::/g;\$ntt}\")){
@@ -126,7 +126,7 @@ that type:
}
else
croak(\"$var is not of type ${(my $ntt=$ntype)=~s/_/::/g;\$ntt}\")
-
+
OUTPUT
T_PTROBJ_SPECIAL
sv_setref_pv($arg, \"${(my $ntt=$ntype)=~s/_/::/g;\$ntt}\",