summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-07-08 16:56:50 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-07-08 23:32:22 +0200
commit242f8760e6ec383f070c854a602d038abeaf355a (patch)
tree3b84b59911c540c9813ceb3ae12a9f573ee273cf /embed.fnc
parente5b34a76788f710069f8da5111b19844263dbf3f (diff)
downloadperl-242f8760e6ec383f070c854a602d038abeaf355a.tar.gz
Add a parameter "destructing" to Gv_AMupdate()
This boolean parameter indicates if the function has been called to update the overload magic table while looking up the DESTROY method. In this case, it's probably best to avoid croaking if those tables could not be updated (for example due to a method that could not be loaded.)
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 3ff1b89cf0..8689af0f93 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -99,7 +99,7 @@ END_EXTERN_C
START_EXTERN_C
# include "pp_proto.h"
Ap |SV* |amagic_call |NN SV* left|NN SV* right|int method|int dir
-Ap |bool |Gv_AMupdate |NN HV* stash
+Ap |bool |Gv_AMupdate |NN HV* stash|bool destructing
ApR |CV* |gv_handler |NULLOK HV* stash|I32 id
: Used in perly.y
p |OP* |append_elem |I32 optype|NULLOK OP* first|NULLOK OP* last