From 51d41593234a666d435ec95bb40ebbfc419ac222 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Thu, 27 Aug 2020 09:28:17 -0600 Subject: [PATCH] Document PERLIO_FUNCS_(DECL|CAST) --- perlio.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/perlio.h b/perlio.h index 836ff6f72f4b..f0c1b4f3c92d 100644 --- a/perlio.h +++ b/perlio.h @@ -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 to be a PerlIO function, that is, of type C. + +=for apidoc Ay|PerlIO_funcs *|PERLIO_FUNCS_CAST|PerlIO * func +Cast the function C to be of type S>. + +=cut +*/ #define PERLIO_FUNCS_DECL(funcs) const PerlIO_funcs funcs #define PERLIO_FUNCS_CAST(funcs) (PerlIO_funcs*)(funcs)