Skip to content

Commit a17cf04

Browse files
committed
perlapi: XS and kin are not typedefs
This includes XS_(INTERNAL | EXTERNAL | PROTO) They are macros.
1 parent 25ea9d2 commit a17cf04

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

XSUB.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ XSUB's aliases was used to invoke it. See L<perlxs/"The ALIAS: Keyword">.
5353
=for apidoc Am|SV*|ST|int ix
5454
Used to access elements on the XSUB's stack.
5555
56-
=for apidoc Ay||XS|name
56+
=for apidoc Am||XS|name
5757
Macro to declare an XSUB and its C parameter list. This is handled by
5858
C<xsubpp>. It is the same as using the more explicit C<XS_EXTERNAL> macro; the
5959
latter is preferred.
6060
61-
=for apidoc Ayu||XS_INTERNAL|name
61+
=for apidoc Amu||XS_INTERNAL|name
6262
Macro to declare an XSUB and its C parameter list without exporting the symbols.
6363
This is handled by C<xsubpp> and generally preferable over exporting the XSUB
6464
symbols unnecessarily.
@@ -67,10 +67,10 @@ symbols unnecessarily.
6767
XS_INTERNAL marked 'u' because declaring a function static within our test
6868
function doesn't work
6969
70-
=for apidoc Ay||XS_EXTERNAL|name
70+
=for apidoc Am||XS_EXTERNAL|name
7171
Macro to declare an XSUB and its C parameter list explicitly exporting the symbols.
7272
73-
=for apidoc Ay||XSPROTO|name
73+
=for apidoc Am||XSPROTO|name
7474
Macro used by C<L</XS_INTERNAL>> and C<L</XS_EXTERNAL>> to declare a function
7575
prototype. You probably shouldn't be using this directly yourself.
7676

0 commit comments

Comments
 (0)