From: gfx Date: Fri, 18 Dec 2009 04:24:23 +0000 (+0900) Subject: Fix BUILDALL in XS X-Git-Tag: 0.45~16 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=commitdiff_plain;h=f50e50d653ac9fbdc9aeeff13bbf5456e603a339;hp=36e85b8cb4375445f5df32fb610a8bba0828f55f Fix BUILDALL in XS --- diff --git a/xs-src/Mouse.xs b/xs-src/Mouse.xs index 8e7700f..5cbfb80 100644 --- a/xs-src/Mouse.xs +++ b/xs-src/Mouse.xs @@ -656,7 +656,8 @@ void BUILDALL(SV* self, SV* args) CODE: { - AV* const xc = mouse_get_xc(aTHX_ self); + SV* const meta = get_metaclass(self); + AV* const xc = mouse_get_xc(aTHX_ meta); if(!IsHashRef(args)){ croak("You must pass a HASH reference to BUILDALL");