From: gfx Date: Sat, 31 Oct 2009 05:47:55 +0000 (+0900) Subject: Add "mouse_" prefix X-Git-Tag: 0.40_04~21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=672bde7c9b3e68ea3aff3186eafb11b73e8e3d89;p=gitmo%2FMouse.git Add "mouse_" prefix --- diff --git a/mouse.h b/mouse.h index dc5858e..a86c32f 100644 --- a/mouse.h +++ b/mouse.h @@ -176,7 +176,7 @@ int mouse_tc_GlobRef (pTHX_ SV* const sv); int mouse_tc_FileHandle(pTHX_ SV* const sv); int mouse_tc_Object (pTHX_ SV* const sv); -CV* generate_isa_predicate_for(pTHX_ SV* const klass, const char* const predicate_name); +CV* mouse_generate_isa_predicate_for(pTHX_ SV* const klass, const char* const predicate_name); XS(XS_Mouse_parameterized_check); diff --git a/xs-src/MouseTypeConstraints.xs b/xs-src/MouseTypeConstraints.xs index 60fa4c4..31d7c46 100644 --- a/xs-src/MouseTypeConstraints.xs +++ b/xs-src/MouseTypeConstraints.xs @@ -362,7 +362,7 @@ mouse_is_an_instance_of_universal(pTHX_ SV* const data, SV* const sv){ static MGVTBL mouse_util_type_constraints_vtbl; /* not used, only for identity */ CV* -generate_isa_predicate_for(pTHX_ SV* const klass, const char* const predicate_name){ +mouse_generate_isa_predicate_for(pTHX_ SV* const klass, const char* const predicate_name){ STRLEN klass_len; const char* klass_pv = SvPV_const(klass, klass_len); CV* xsub; diff --git a/xs-src/MouseUtil.xs b/xs-src/MouseUtil.xs index b1b4f05..dab2907 100644 --- a/xs-src/MouseUtil.xs +++ b/xs-src/MouseUtil.xs @@ -332,7 +332,7 @@ PPCODE: name_pv = SvPV_nolen_const(predicate_name); } - xsub = generate_isa_predicate_for(aTHX_ klass, name_pv); + xsub = mouse_generate_isa_predicate_for(aTHX_ klass, name_pv); if(predicate_name == NULL){ /* anonymous predicate */ XPUSHs( newRV_noinc((SV*)xsub) );