summaryrefslogtreecommitdiff
path: root/pod/perlxs.pod
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-07-08 03:37:00 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-07-08 03:37:00 +0000
commitb772cb6e70772652fb7fb01d41dd25a8e04897c8 (patch)
tree30bb13884cfdb3bc88f9c82c6d20aab5d6cd3751 /pod/perlxs.pod
parent6e2995f46dea9e6e86a80cfd32e392f5da2a93bc (diff)
downloadperl-b772cb6e70772652fb7fb01d41dd25a8e04897c8.tar.gz
Typos and formatting corrected
Diffstat (limited to 'pod/perlxs.pod')
-rw-r--r--pod/perlxs.pod8
1 files changed, 4 insertions, 4 deletions
diff --git a/pod/perlxs.pod b/pod/perlxs.pod
index 191a78fe89..850960ae2b 100644
--- a/pod/perlxs.pod
+++ b/pod/perlxs.pod
@@ -760,8 +760,8 @@ variable (see L<"The ALIAS: Keyword">), or maybe via the C<items> variable
B<default> case if it is not associated with a conditional. The following
example shows CASE switched via C<ix> with a function C<rpcb_gettime()>
having an alias C<x_gettime()>. When the function is called as
-C<rpcb_gettime()> it's parameters are the usual C<(char *host, time_t *timep)>,
-but when the function is called as C<x_gettime()> is parameters are
+C<rpcb_gettime()> its parameters are the usual C<(char *host, time_t *timep)>,
+but when the function is called as C<x_gettime()> its parameters are
reversed, C<(time_t *timep, char *host)>.
long
@@ -831,13 +831,13 @@ CODE:, PPCODE: and CLEANUP: blocks, as well as outside the functions.
Comments are allowed anywhere after the MODULE keyword. The compiler
will pass the preprocessor directives through untouched and will remove
the commented lines.
+
Comments can be added to XSUBs by placing a C<#> as the first
non-whitespace of a line. Care should be taken to avoid making the
comment look like a C preprocessor directive, lest it be interpreted as
such. The simplest way to prevent this is to put whitespace in front of
the C<#>.
-
If you use preprocessor directives to choose one of two
versions of a function, use
@@ -1147,4 +1147,4 @@ This document covers features supported by C<xsubpp> 1.935.
=head1 AUTHOR
Dean Roehrich F<E<lt>roehrich@cray.comE<gt>>
-Mar 12, 1996
+Jul 8, 1996