[svn:parrot] r47030 - in branches/ns_func_cleanup: docs include/parrot src src/pmc

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Wed May 26 23:16:07 UTC 2010


Author: whiteknight
Date: Wed May 26 23:16:06 2010
New Revision: 47030
URL: https://trac.parrot.org/parrot/changeset/47030

Log:
Parrot_make_namespace_autobase -> Parrot_ns_make_namespace_autobase

Modified:
   branches/ns_func_cleanup/docs/embed.pod
   branches/ns_func_cleanup/include/parrot/global.h
   branches/ns_func_cleanup/src/global.c
   branches/ns_func_cleanup/src/pmc/role.pmc

Modified: branches/ns_func_cleanup/docs/embed.pod
==============================================================================
--- branches/ns_func_cleanup/docs/embed.pod	Wed May 26 23:07:46 2010	(r47029)
+++ branches/ns_func_cleanup/docs/embed.pod	Wed May 26 23:16:06 2010	(r47030)
@@ -949,7 +949,7 @@
 
 =item C<Parrot_make_default_encoding>
 
-=item C<Parrot_make_namespace_autobase>
+=item C<Parrot_ns_make_namespace_autobase>
 
 =item C<Parrot_ns_make_namespace_keyed>
 

Modified: branches/ns_func_cleanup/include/parrot/global.h
==============================================================================
--- branches/ns_func_cleanup/include/parrot/global.h	Wed May 26 23:07:46 2010	(r47029)
+++ branches/ns_func_cleanup/include/parrot/global.h	Wed May 26 23:16:06 2010	(r47030)
@@ -88,7 +88,7 @@
 PARROT_EXPORT
 PARROT_WARN_UNUSED_RESULT
 PARROT_CAN_RETURN_NULL
-PMC * Parrot_make_namespace_autobase(PARROT_INTERP, ARGIN_NULLOK(PMC *key))
+PMC * Parrot_ns_make_namespace_autobase(PARROT_INTERP, ARGIN_NULLOK(PMC *key))
         __attribute__nonnull__(1);
 
 PARROT_EXPORT
@@ -166,7 +166,7 @@
      __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp) \
     , PARROT_ASSERT_ARG(base_ns))
-#define ASSERT_ARGS_Parrot_make_namespace_autobase \
+#define ASSERT_ARGS_Parrot_ns_make_namespace_autobase \
      __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp))
 #define ASSERT_ARGS_Parrot_ns_make_namespace_keyed __attribute__unused__ int _ASSERT_ARGS_CHECK = (\

Modified: branches/ns_func_cleanup/src/global.c
==============================================================================
--- branches/ns_func_cleanup/src/global.c	Wed May 26 23:07:46 2010	(r47029)
+++ branches/ns_func_cleanup/src/global.c	Wed May 26 23:16:06 2010	(r47030)
@@ -358,7 +358,7 @@
 
 /*
 
-=item C<PMC * Parrot_make_namespace_autobase(PARROT_INTERP, PMC *key)>
+=item C<PMC * Parrot_ns_make_namespace_autobase(PARROT_INTERP, PMC *key)>
 
 Find, or create if necessary, a namespace with the key C<key>, which may be a
 String, a Key, or an array of strings. If it is a String, then the lookup is
@@ -373,9 +373,9 @@
 PARROT_WARN_UNUSED_RESULT
 PARROT_CAN_RETURN_NULL
 PMC *
-Parrot_make_namespace_autobase(PARROT_INTERP, ARGIN_NULLOK(PMC *key))
+Parrot_ns_make_namespace_autobase(PARROT_INTERP, ARGIN_NULLOK(PMC *key))
 {
-    ASSERT_ARGS(Parrot_make_namespace_autobase)
+    ASSERT_ARGS(Parrot_ns_make_namespace_autobase)
     PMC *base_ns;
     if (VTABLE_isa(interp, key, CONST_STRING(interp, "String")))
         base_ns = Parrot_pcc_get_namespace(interp, CURRENT_CONTEXT(interp));

Modified: branches/ns_func_cleanup/src/pmc/role.pmc
==============================================================================
--- branches/ns_func_cleanup/src/pmc/role.pmc	Wed May 26 23:07:46 2010	(r47029)
+++ branches/ns_func_cleanup/src/pmc/role.pmc	Wed May 26 23:16:06 2010	(r47030)
@@ -101,7 +101,7 @@
          * to look one up with and do so. */
         PMC *_namespace = VTABLE_get_pmc_keyed_str(interp, info, namespace_str);
         if (!VTABLE_isa(interp, _namespace, ns_string))
-            _namespace = Parrot_make_namespace_autobase(interp, _namespace);
+            _namespace = Parrot_ns_make_namespace_autobase(interp, _namespace);
 
         /* If we get something null back it's an error; otherwise, store it. */
         if (!PMC_IS_NULL(_namespace))
@@ -131,7 +131,7 @@
          * to look one up with and do so. */
         PMC *_namespace = VTABLE_get_pmc_keyed_str(interp, info, namespace_str);
         if (!VTABLE_isa(interp, _namespace, ns_string))
-            _namespace = Parrot_make_namespace_autobase(interp, _namespace);
+            _namespace = Parrot_ns_make_namespace_autobase(interp, _namespace);
 
         /* If we get something null back it's an error; otherwise, store it. */
         if (PMC_IS_NULL(_namespace))


More information about the parrot-commits mailing list