From: gfx Date: Thu, 3 Dec 2009 01:26:57 +0000 (+0900) Subject: No duplication X-Git-Tag: 0.40_09~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6bc5b4951fa6922895ddcf611f9f9553794f54b7;p=gitmo%2FMouse.git No duplication --- diff --git a/xs-src/Mouse.xs b/xs-src/Mouse.xs index 41ce1d1..08f8681 100644 --- a/xs-src/Mouse.xs +++ b/xs-src/Mouse.xs @@ -257,8 +257,8 @@ mouse_class_initialize_object(pTHX_ SV* const meta, SV* const object, HV* const } for(i = 0; i < len; i++){ - SV* const attr = AvARRAY(attrs)[i]; - AV* const xa = mouse_get_xa(aTHX_ AvARRAY(attrs)[i]); + SV* const attr = MOUSE_av_at(attrs, i); + AV* const xa = mouse_get_xa(aTHX_ attr); SV* const slot = MOUSE_xa_slot(xa); U16 const flags = (U16)MOUSE_xa_flags(xa);