PROTOTYPES: DISABLE
UV
-_setup (CV *cv)
+setup_for_cv (CV *cv)
CODE:
RETVAL = (UV)hook_op_check_entersubforcv (cv, lift_cb, NULL);
OUTPUT:
RETVAL
void
-_teardown (UV id)
+teardown_for_cv (UV id)
CODE:
hook_op_check_entersubforcv_remove ((hook_op_check_id)id);
my ($class, $target, $args) = @_;
$lift{$target} ||= [];
push @{ $lift{$target} }, map {
- _setup($_);
+ setup_for_cv($_);
} map {
ref $_ eq 'CODE'
? $_
sub teardown_for {
my ($class, $target) = @_;
- _teardown($_) for @{ $lift{$target} };
+ teardown_for_cv($_) for @{ $lift{$target} };
delete $lift{$target};
}