X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xs-src%2FMouse.xs;h=5cbfb80864d835a4e9d8f1e7f2b35b35e56f2bc8;hb=feaa7084294785dfcc9569aac98393da09f0f640;hp=8e7700fbf6ab0111cef5669a8c8b8272edf61e76;hpb=adb5eb76f6875283f11d6f2b8d281568f0a4a688;p=gitmo%2FMouse.git 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");