diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-21 17:21:40 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-21 17:21:40 +0000 |
commit | c5bed6a7fce592c2ad5feb351b09e8f9ce8c18c5 (patch) | |
tree | c46406289583a47a274f9be300d5da5add99af95 /cop.h | |
parent | 99710fe38e53c8e763d4758979c48cc5bc8503cf (diff) | |
download | perl-c5bed6a7fce592c2ad5feb351b09e8f9ce8c18c5.tar.gz |
In struct block_subst, access the member once via a macro CxONCE()
which will allow the storage location to be changed.
p4raw-id: //depot/perl@33034
Diffstat (limited to 'cop.h')
-rw-r--r-- | cop.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -650,6 +650,8 @@ struct subst { rxres_save(&cx->sb_rxres, rx); \ (void)ReREFCNT_inc(rx) +#define CxONCE(cx) (0 + cx->sb_once) + #define POPSUBST(cx) cx = &cxstack[cxstack_ix--]; \ rxres_free(&cx->sb_rxres); \ ReREFCNT_dec(cx->sb_rx) |