/* replacement PL_check rv2cv entry */
-STATIC OP *dd_ck_rv2cv(pTHX_ OP *o) {
+STATIC OP *dd_ck_rv2cv(pTHX_ OP *o, void *user_data) {
OP* kid;
int dd_flags;
char* cb_args[6];
return PL_ppaddr[OP_ENTEREVAL](aTHX);
}
-STATIC OP *dd_ck_entereval(pTHX_ OP *o) {
+STATIC OP *dd_ck_entereval(pTHX_ OP *o, void *user_data) {
if (o->op_ppaddr == PL_ppaddr[OP_ENTEREVAL])
o->op_ppaddr = dd_pp_entereval;
return o;
return count;
}
-STATIC OP *dd_ck_const(pTHX_ OP *o) {
+STATIC OP *dd_ck_const(pTHX_ OP *o, void *user_data) {
int dd_flags;
char* s;
char* name;
setup()
CODE:
if (!initialized++) {
- hook_op_check(OP_RV2CV, dd_ck_rv2cv);
- hook_op_check(OP_ENTEREVAL, dd_ck_entereval);
- hook_op_check(OP_CONST, dd_ck_const);
+ hook_op_check(OP_RV2CV, dd_ck_rv2cv, NULL);
+ hook_op_check(OP_ENTEREVAL, dd_ck_entereval, NULL);
+ hook_op_check(OP_CONST, dd_ck_const, NULL);
}
filter_add(dd_filter_realloc, NULL);
all_from 'lib/Devel/Declare.pm';
requires 'Scalar::Util';
-requires 'B::Hooks::OP::Check';
+requires 'B::Hooks::OP::Check' => '0.10';
build_requires 'Test::More';
build_requires 'Scope::Guard';
+build_requires 'B::Hooks::OP::Check' => '0.10';
configure_requires 'ExtUtils::Depends';
-configure_requires 'B::Hooks::OP::Check';
+configure_requires 'B::Hooks::OP::Check' => '0.10';
postamble(<<'EOM');
$(OBJECT) : stolen_chunk_of_toke.c