summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorVincent Pit <perl@profvince.com>2009-07-25 00:15:07 +0200
committerVincent Pit <perl@profvince.com>2009-07-25 23:26:06 +0200
commit91d1c79f6c648258e3465cf0cdbe8df3ab262de1 (patch)
tree80fc2bb47eae65d7017d956e3759daf004420d29 /scope.h
parent2788925507d099c7b1e9382ad2ddc4f3d692de28 (diff)
downloadperl-91d1c79f6c648258e3465cf0cdbe8df3ab262de1.tar.gz
Introduce save_aelem_flags()
It's the symmetric of save_helem_flags(). save_aelem() is now a macro wrapping around save_aelem_flags().
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scope.h b/scope.h
index 2b57fc6e99..7bda4c8b5b 100644
--- a/scope.h
+++ b/scope.h
@@ -58,6 +58,7 @@
#define SAVEf_SETMAGIC 1
+#define save_aelem(av,idx,sptr) save_aelem_flags(av,idx,sptr,SAVEf_SETMAGIC)
#define save_helem(hv,key,sptr) save_helem_flags(hv,key,sptr,SAVEf_SETMAGIC)
#ifndef SCOPE_SAVES_SIGNAL_MASK