X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlxs.pod;h=15a7888697421f17e1b4e9fbac5d29a8d972f5ca;hb=70a63dff8306516881e1d108737939903cfadaef;hp=e5f5f75f37541306ae0cd68cc9273b277b87ba58;hpb=54162f5c00ecbf69ece32b5c45c43c32cdb1626c;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlxs.pod b/pod/perlxs.pod index e5f5f75..15a7888 100644 --- a/pod/perlxs.pod +++ b/pod/perlxs.pod @@ -310,6 +310,10 @@ keyword and must follow immediately after it when used. [ XS code in package RPC ] +The same package name can be used more than once, allowing for +non-contiguous code. This is useful if you have a stronger ordering +principle than package names. + Although this keyword is optional and in some cases provides redundant information it should always be used. This keyword will ensure that the XSUBs appear in the desired package. @@ -1190,6 +1194,14 @@ prototypes. timep RETVAL +If the prototypes are enabled, you can disable it locally for a given +XSUB as in the following example: + + void + rpcb_gettime_noproto() + PROTOTYPE: DISABLE + ... + =head2 The ALIAS: Keyword The ALIAS: keyword allows an XSUB to have two or more unique Perl names