… | … | ||
---|---|---|---|
78 | 78 | ||
79 | MODULE = Guard PACKAGE = Guard | 79 | MODULE = Guard PACKAGE = Guard |
80 | 80 | ||
81 | BOOT: | 81 | BOOT: |
82 | guard_stash = gv_stashpv ("Guard", 1); | 82 | guard_stash = gv_stashpv ("Guard", 1); |
83 | CvNODEBUG_on (get_cv ("Guard::scope_guard", 0)); /* otherwise calling scope can be the debugger */ | ||
83 | 84 | ||
84 | void | 85 | void |
85 | scope_guard (SV *block) | 86 | scope_guard (SV *block) |
86 | PROTOTYPE: & | 87 | PROTOTYPE: & |
87 | CODE: | 88 | CODE: |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |