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