diff options
author | Hojung Youn <amoc.yn@gmail.com> | 2013-01-25 18:52:53 +0900 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2013-07-01 13:40:09 +1000 |
commit | 3efcb594869a2787028e8ad10c5aae38ea9b1e22 (patch) | |
tree | 20f464a9d761164fdd3041aa3637628d75c10ee3 | |
parent | 561e8675346bc8f4cc77b5bce3c2fb4b05138329 (diff) | |
download | perl-3efcb594869a2787028e8ad10c5aae38ea9b1e22.tar.gz |
Give little more examples to interpolated typemap variables
Added an example for $type Perl variable interpolated by typemap.
and adjusted an example of $ntype Perl variable of typemap to
illustrate its effect.
-rw-r--r-- | dist/ExtUtils-ParseXS/lib/perlxstypemap.pod | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod b/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod index e2bc7ed235..5aa367f3e9 100644 --- a/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod +++ b/dist/ExtUtils-ParseXS/lib/perlxstypemap.pod @@ -226,11 +226,12 @@ return values. I<$type> - the raw C type of the parameter, any C<:> replaced with C<_>. +e.g. for a type of C<Foo::Bar>, I<$type> is C<Foo__Bar> =item * I<$ntype> - the supplied type with C<*> replaced with C<Ptr>. -e.g. for a type of C<Foo::Bar>, I<$ntype> is C<Foo::Bar> +e.g. for a type of C<Foo*>, I<$ntype> is C<FooPtr> =item * |