summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-02-11 08:54:16 +0000
committerNicholas Clark <nick@ccl4.org>2008-02-11 08:54:16 +0000
commit251cc6a6633b7581ea0831a6e963c2d37200aaee (patch)
tree1756d401cad0b8ea443f858f68224d04d93999c0 /embed.fnc
parentd207eff153a616ce3216ea5508d8c251ee3e5466 (diff)
downloadperl-251cc6a6633b7581ea0831a6e963c2d37200aaee.tar.gz
The "pointer" argument to S_restore_magic() is not not NULL, because
it's actually an integer index wedged into a pointer. (To fit within the existing save stack API.) p4raw-id: //depot/perl@33276
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 7a9369ce50..f4d6633fb2 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1167,7 +1167,7 @@ s |void |save_magic |I32 mgs_ix|NN SV *sv
s |int |magic_methpack |NN SV *sv|NN const MAGIC *mg|NN const char *meth
s |int |magic_methcall |NN SV *sv|NN const MAGIC *mg|NN const char *meth|I32 f \
|int n|NULLOK SV *val
-s |void |restore_magic |NN const void *p
+s |void |restore_magic |NULLOK const void *p
s |void |unwind_handler_stack|NN const void *p
#endif