diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-08-08 15:01:48 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-08-08 17:54:36 +0100 |
commit | 85dca89a8f321bc581a3d365d95ab0c56368ed78 (patch) | |
tree | ca2336c2dad9d00e09d0201a98a2bb4107890f3f /sv.h | |
parent | d5713896ecd1399c9c6c4076514a33eb2880d8c3 (diff) | |
download | perl-85dca89a8f321bc581a3d365d95ab0c56368ed78.tar.gz |
Perl_newIO() can become a mathom by making newIO() a wrapper around newSV_type()
and tweaking Perl_sv_upgrade().
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2016,6 +2016,9 @@ Evaluates I<sv> more than once. Sets I<len> to 0 if C<SvOOK(sv)> is false. } \ } STMT_END #endif + +#define newIO() MUTABLE_IO(newSV_type(SVt_PVIO)) + /* * Local variables: * c-indentation-style: bsd |