[Bast-commits] r4978 - in
Devel-BeginLift/1.000/branches/entersub_for_cv: . lib/Devel
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Sat Oct 25 11:33:05 BST 2008
Author: rafl
Date: 2008-10-25 11:33:05 +0100 (Sat, 25 Oct 2008)
New Revision: 4978
Modified:
Devel-BeginLift/1.000/branches/entersub_for_cv/BeginLift.xs
Devel-BeginLift/1.000/branches/entersub_for_cv/lib/Devel/BeginLift.pm
Log:
Rename _setup and _teardown to {setup,teardown}_for_cv.
Modified: Devel-BeginLift/1.000/branches/entersub_for_cv/BeginLift.xs
===================================================================
--- Devel-BeginLift/1.000/branches/entersub_for_cv/BeginLift.xs 2008-10-25 10:32:32 UTC (rev 4977)
+++ Devel-BeginLift/1.000/branches/entersub_for_cv/BeginLift.xs 2008-10-25 10:33:05 UTC (rev 4978)
@@ -103,13 +103,13 @@
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);
Modified: Devel-BeginLift/1.000/branches/entersub_for_cv/lib/Devel/BeginLift.pm
===================================================================
--- Devel-BeginLift/1.000/branches/entersub_for_cv/lib/Devel/BeginLift.pm 2008-10-25 10:32:32 UTC (rev 4977)
+++ Devel-BeginLift/1.000/branches/entersub_for_cv/lib/Devel/BeginLift.pm 2008-10-25 10:33:05 UTC (rev 4978)
@@ -28,7 +28,7 @@
my ($class, $target, $args) = @_;
$lift{$target} ||= [];
push @{ $lift{$target} }, map {
- _setup($_);
+ setup_for_cv($_);
} map {
ref $_ eq 'CODE'
? $_
@@ -38,7 +38,7 @@
sub teardown_for {
my ($class, $target) = @_;
- _teardown($_) for @{ $lift{$target} };
+ teardown_for_cv($_) for @{ $lift{$target} };
delete $lift{$target};
}
More information about the Bast-commits
mailing list