summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-08-08 15:01:48 +0100
committerNicholas Clark <nick@ccl4.org>2009-08-08 17:54:36 +0100
commit85dca89a8f321bc581a3d365d95ab0c56368ed78 (patch)
treeca2336c2dad9d00e09d0201a98a2bb4107890f3f /proto.h
parentd5713896ecd1399c9c6c4076514a33eb2880d8c3 (diff)
downloadperl-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 'proto.h')
-rw-r--r--proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index aee22c064e..90ffd21625 100644
--- a/proto.h
+++ b/proto.h
@@ -2123,9 +2123,9 @@ PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV *hv)
__attribute__malloc__
__attribute__warn_unused_result__;
-PERL_CALLCONV IO* Perl_newIO(pTHX)
+/* PERL_CALLCONV IO* Perl_newIO(pTHX)
__attribute__malloc__
- __attribute__warn_unused_result__;
+ __attribute__warn_unused_result__; */
PERL_CALLCONV OP* Perl_newLISTOP(pTHX_ I32 type, I32 flags, OP* first, OP* last)
__attribute__malloc__