X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlxstut.pod;h=090b14a9e765944fac156034634c3a828f044e6d;hb=93592fd5aeec89ac25994a493ef54e1d7a572d65;hp=518b33aaae86bbe2a60174f87970f2c06589d34e;hpb=eb3fb7ac6cc625421e26f350ef8ef7f1095e11ad;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlxstut.pod b/pod/perlxstut.pod index 518b33a..090b14a 100644 --- a/pod/perlxstut.pod +++ b/pod/perlxstut.pod @@ -90,8 +90,8 @@ extension, it will print out a well-known message and return. Run "C". This creates a directory named Mytest, possibly under ext/ if that directory exists in the current working -directory. Several files will be created in the Mytest dir, including -MANIFEST, Makefile.PL, Mytest.pm, Mytest.xs, Mytest.t, and Changes. +directory. Several files will be created under the Mytest dir, including +MANIFEST, Makefile.PL, lib/Mytest.pm, Mytest.xs, t/Mytest.t, and Changes. The MANIFEST file contains the names of all the files just created in the Mytest directory. @@ -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.