summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-01-17 21:45:37 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-01-17 21:45:37 +0000
commit81e08b8aadcad25663c7f2cda0bb6fdffa6a6ae7 (patch)
tree171647a258242107b8526ccf259dfdfffe16e4ae /embed.fnc
parentf1913749ad3dc95502a87e2ec7f25f559ea81323 (diff)
downloadperl-81e08b8aadcad25663c7f2cda0bb6fdffa6a6ae7.tar.gz
Gisle points out that it's ok to ignore the return value of newSVrv.
Due to how embed.pl is implemented, this also has the unfortunate side-effect of removing __attribute__malloc__ from the attributes of this function, but given that the new pointer is stored elsewhere anyway, this shouldn't impact what gcc could have optimized. p4raw-id: //depot/perl@26885
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 2f0a8fdb94..d3fd5bb47d 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -553,7 +553,7 @@ Apda |SV* |newSVhek |NULLOK const HEK *hek
Apda |SV* |newSVpvn_share |NULLOK const char* s|I32 len|U32 hash
Afpda |SV* |newSVpvf |NN const char* pat|...
Apa |SV* |vnewSVpvf |NN const char* pat|NULLOK va_list* args
-Apda |SV* |newSVrv |NN SV* rv|NULLOK const char* classname
+Apd |SV* |newSVrv |NN SV* rv|NULLOK const char* classname
Apda |SV* |newSVsv |NULLOK SV* old
Apa |OP* |newUNOP |I32 type|I32 flags|NULLOK OP* first
Apa |OP* |newWHENOP |NULLOK OP* cond|NN OP* block