Add "mouse_" prefix
gfx [Sat, 31 Oct 2009 05:47:55 +0000 (14:47 +0900)]
mouse.h
xs-src/MouseTypeConstraints.xs
xs-src/MouseUtil.xs

diff --git a/mouse.h b/mouse.h
index dc5858e..a86c32f 100644 (file)
--- 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);
 
index 60fa4c4..31d7c46 100644 (file)
@@ -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;
index b1b4f05..dab2907 100644 (file)
@@ -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) );