Skip to content

Commit

Permalink
Merge 51d4159 into 61d18b6
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed May 4, 2021
2 parents 61d18b6 + 51d4159 commit dce03d1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions perlio.h
Expand Up @@ -63,6 +63,16 @@ typedef PerlIOl *PerlIO;
#define PerlIO PerlIO
#define PERLIO_LAYERS 1

/*
=for apidoc_section $io
=for apidoc Amu||PERLIO_FUNCS_DECL|PerlIO * func
Declare C<func> to be a PerlIO function, that is, of type C<PerlIO_funcs>.
=for apidoc Ay|PerlIO_funcs *|PERLIO_FUNCS_CAST|PerlIO * func
Cast the function C<func> to be of type S<C<PerlIO_funcs *>>.
=cut
*/
#define PERLIO_FUNCS_DECL(funcs) const PerlIO_funcs funcs
#define PERLIO_FUNCS_CAST(funcs) (PerlIO_funcs*)(funcs)

Expand Down

0 comments on commit dce03d1

Please sign in to comment.