From: Tom Hukins Date: Tue, 14 Apr 2009 15:21:24 +0000 (+0100) Subject: Documentation Patch: perlxs.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5a7d1118849a8fdecfec79047afe1bc71a4a512a;p=p5sagit%2Fp5-mst-13.2.git Documentation Patch: perlxs.pod Porters, Please find attached a small patch to the perlxstut.pod document. The first part of the patch makes a link more precise. The second, more useful, part of the patch fixes some confused English that doesn't make sense. Thanks for your efforts, Tom Signed-off-by: H.Merijn Brand --- diff --git a/pod/perlxstut.pod b/pod/perlxstut.pod index 7db3eb3..090b14a 100644 --- a/pod/perlxstut.pod +++ b/pod/perlxstut.pod @@ -196,7 +196,7 @@ been deleted): % You can safely ignore the line about "prototyping behavior" - it is -explained in the section "The PROTOTYPES: Keyword" in L. +explained in L. If you are on a Win32 system, and the build process fails with linker errors for functions in the C library, check if your Perl is configured @@ -428,7 +428,7 @@ line starts with optional whitespace, and may have an optional terminating semicolon. The list of output parameters occurs at the very end of the function, just -before after the OUTPUT: directive. The use of RETVAL tells Perl that you +after the OUTPUT: directive. The use of RETVAL tells Perl that you wish to send this value back as the return value of the XSUB function. In Example 3, we wanted the "return value" placed in the original variable which we passed in, so we listed it (and not RETVAL) in the OUTPUT: section.