projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix Makefile.PL to add author's tests correctly
[gitmo/Mouse.git]
/
xs-src
/
MouseTypeConstraints.xs
diff --git
a/xs-src/MouseTypeConstraints.xs
b/xs-src/MouseTypeConstraints.xs
index
8818186
..
5260d88
100644
(file)
--- a/
xs-src/MouseTypeConstraints.xs
+++ b/
xs-src/MouseTypeConstraints.xs
@@
-261,6
+261,7
@@
mouse_parameterized_HashRef(pTHX_ SV* const param, SV* const sv) {
SV* const value = hv_iterval(hv, he);
SvGETMAGIC(value);
if(!mouse_tc_check(aTHX_ param, value)){
+ hv_iterinit(hv); /* reset */
return FALSE;
}
}