summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-05-07 20:44:25 -0600
committerKarl Williamson <khw@cpan.org>2022-05-07 20:49:40 -0600
commit9287e2bfb93d56c3633831c3535e2a2789d50e5d (patch)
tree52147c1aeb3624fbb49bdbd921732f61b9261c7c /sv.h
parentfaa739d5d08d0287988879a2243e1b1bf4476ecc (diff)
downloadperl-9287e2bfb93d56c3633831c3535e2a2789d50e5d.tar.gz
perlapi: Document newIO
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index dff13b7774..eeb15bb3f2 100644
--- a/sv.h
+++ b/sv.h
@@ -2492,6 +2492,13 @@ Evaluates C<sv> more than once. Sets C<len> to 0 if C<SvOOK(sv)> is false.
} STMT_END
#endif
+/*
+=for apidoc newIO
+
+Create a new IO, setting the reference count to 1.
+
+=cut
+*/
#define newIO() MUTABLE_IO(newSV_type(SVt_PVIO))
#if defined(PERL_CORE) || defined(PERL_EXT)