From: gfx Date: Tue, 17 Nov 2009 01:25:12 +0000 (+0900) Subject: Make some functions static X-Git-Tag: 0.40_07~25 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3001d9acb5b99317145fbef8785855161a128f04;p=gitmo%2FMouse.git Make some functions static --- diff --git a/xs-src/Mouse.xs b/xs-src/Mouse.xs index 075b806..27f871c 100644 --- a/xs-src/Mouse.xs +++ b/xs-src/Mouse.xs @@ -150,7 +150,7 @@ mouse_class_update_xc(pTHX_ SV* const metaclass PERL_UNUSED_DECL, HV* const stas sv_setuv(MOUSE_xc_gen(xc), mro_get_pkg_gen(stash)); } -AV* +static AV* mouse_get_xc(pTHX_ SV* const metaclass) { AV* xc; SV* gen; @@ -202,7 +202,7 @@ mouse_get_xc(pTHX_ SV* const metaclass) { return xc; } -HV* +static HV* mouse_buildargs(pTHX_ SV* metaclass, SV* const klass, I32 ax, I32 items) { HV* args; @@ -237,7 +237,7 @@ mouse_buildargs(pTHX_ SV* metaclass, SV* const klass, I32 ax, I32 items) { return args; } -void +static void mouse_class_initialize_object(pTHX_ SV* const meta, SV* const object, HV* const args, bool const ignore_triggers) { AV* const xc = mouse_get_xc(aTHX_ meta); AV* const attrs = MOUSE_xc_attrall(xc);