summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-12-20 20:58:25 +0000
committerNicholas Clark <nick@ccl4.org>2007-12-20 20:58:25 +0000
commit3bdcbd26ea8ce137a02a61d6364dbbb1afb63c19 (patch)
treed69f11c92b9805d558a45fb1e5feb966cf262094 /proto.h
parente50442680d33320e3fd67b1adf0559812a28c98e (diff)
downloadperl-3bdcbd26ea8ce137a02a61d6364dbbb1afb63c19.tar.gz
Correct the embed.fnc descriptions of newAV() and newHV() - they do not
return memory allocated à la malloc(), as it comes from an arena. p4raw-id: //depot/perl@32679
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index 42b4131634..1aec27a4ad 100644
--- a/proto.h
+++ b/proto.h
@@ -1509,7 +1509,6 @@ PERL_CALLCONV CV* Perl_newXS(pTHX_ const char* name, XSUBADDR_t f, const char* f
__attribute__nonnull__(pTHX_3);
/* PERL_CALLCONV AV* Perl_newAV(pTHX)
- __attribute__malloc__
__attribute__warn_unused_result__; */
PERL_CALLCONV OP* Perl_newAVREF(pTHX_ OP* o)
@@ -1545,7 +1544,6 @@ PERL_CALLCONV OP* Perl_newHVREF(pTHX_ OP* o)
__attribute__nonnull__(pTHX_1);
/* PERL_CALLCONV HV* Perl_newHV(pTHX)
- __attribute__malloc__
__attribute__warn_unused_result__; */
PERL_CALLCONV HV* Perl_newHVhv(pTHX_ HV* hv)