From: Fuji, Goro Date: Mon, 14 Mar 2011 01:44:49 +0000 (+0900) Subject: $type_constraint->check() accepts extra arguments X-Git-Tag: 0.91~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=31a596ed4b2890a593de4ecf9197f1452406e04b;p=gitmo%2FMouse.git $type_constraint->check() accepts extra arguments --- diff --git a/xs-src/MouseTypeConstraints.xs b/xs-src/MouseTypeConstraints.xs index 3f0a3d3..6695c71 100644 --- a/xs-src/MouseTypeConstraints.xs +++ b/xs-src/MouseTypeConstraints.xs @@ -804,7 +804,7 @@ CODE: } bool -check(SV* self, SV* sv) +check(SV* self, SV* sv, ...) CODE: { SV* const check = get_slots(self, "compiled_type_constraint");