[svn:parrot] r44030 - in branches/pmc_func_cleanup: docs include/parrot src

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Tue Feb 16 16:45:00 UTC 2010


Author: whiteknight
Date: Tue Feb 16 16:44:59 2010
New Revision: 44030
URL: https://trac.parrot.org/parrot/changeset/44030

Log:
rename PMC_is_null to Parrot_pmc_is_null

Modified:
   branches/pmc_func_cleanup/docs/embed.pod
   branches/pmc_func_cleanup/include/parrot/interpreter.h
   branches/pmc_func_cleanup/include/parrot/pmc.h
   branches/pmc_func_cleanup/src/pmc.c

Modified: branches/pmc_func_cleanup/docs/embed.pod
==============================================================================
--- branches/pmc_func_cleanup/docs/embed.pod	Tue Feb 16 16:42:59 2010	(r44029)
+++ branches/pmc_func_cleanup/docs/embed.pod	Tue Feb 16 16:44:59 2010	(r44030)
@@ -1717,7 +1717,7 @@
 
 =item C<Parrot_warn>
 
-=item C<PMC_is_null>
+=item C<Parrot_pmc_is_null>
 
 =item C<pmc_new>
 

Modified: branches/pmc_func_cleanup/include/parrot/interpreter.h
==============================================================================
--- branches/pmc_func_cleanup/include/parrot/interpreter.h	Tue Feb 16 16:42:59 2010	(r44029)
+++ branches/pmc_func_cleanup/include/parrot/interpreter.h	Tue Feb 16 16:44:59 2010	(r44030)
@@ -606,7 +606,7 @@
 #endif   /* PARROT_IN_CORE */
 
 #ifndef PMC_IS_NULL
-#  define PMC_IS_NULL(pmc) PMC_is_null(NULL, (pmc))
+#  define PMC_IS_NULL(pmc) Parrot_pmc_is_null(NULL, (pmc))
 #endif
 #ifndef STRING_IS_NULL
 #  define STRING_IS_NULL(s) ((s) == NULL || STRING_is_null(NULL, (s))

Modified: branches/pmc_func_cleanup/include/parrot/pmc.h
==============================================================================
--- branches/pmc_func_cleanup/include/parrot/pmc.h	Tue Feb 16 16:42:59 2010	(r44029)
+++ branches/pmc_func_cleanup/include/parrot/pmc.h	Tue Feb 16 16:44:59 2010	(r44030)
@@ -60,7 +60,7 @@
         FUNC_MODIFIES(*pmc);
 
 PARROT_EXPORT
-INTVAL PMC_is_null(SHIM_INTERP, ARGIN_NULLOK(const PMC *pmc));
+INTVAL Parrot_pmc_is_null(SHIM_INTERP, ARGIN_NULLOK(const PMC *pmc));
 
 PARROT_EXPORT
 PARROT_CANNOT_RETURN_NULL
@@ -158,7 +158,7 @@
 #define ASSERT_ARGS_Parrot_pmc_destroy __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp) \
     , PARROT_ASSERT_ARG(pmc))
-#define ASSERT_ARGS_PMC_is_null __attribute__unused__ int _ASSERT_ARGS_CHECK = (0)
+#define ASSERT_ARGS_Parrot_pmc_is_null __attribute__unused__ int _ASSERT_ARGS_CHECK = (0)
 #define ASSERT_ARGS_pmc_new __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp))
 #define ASSERT_ARGS_pmc_new_init __attribute__unused__ int _ASSERT_ARGS_CHECK = (\

Modified: branches/pmc_func_cleanup/src/pmc.c
==============================================================================
--- branches/pmc_func_cleanup/src/pmc.c	Tue Feb 16 16:42:59 2010	(r44029)
+++ branches/pmc_func_cleanup/src/pmc.c	Tue Feb 16 16:44:59 2010	(r44030)
@@ -72,7 +72,7 @@
 
 /*
 
-=item C<INTVAL PMC_is_null(PARROT_INTERP, const PMC *pmc)>
+=item C<INTVAL Parrot_pmc_is_null(PARROT_INTERP, const PMC *pmc)>
 
 Tests if the given pmc is null.
 
@@ -82,9 +82,9 @@
 
 PARROT_EXPORT
 INTVAL
-PMC_is_null(SHIM_INTERP, ARGIN_NULLOK(const PMC *pmc))
+Parrot_pmc_is_null(SHIM_INTERP, ARGIN_NULLOK(const PMC *pmc))
 {
-    ASSERT_ARGS(PMC_is_null)
+    ASSERT_ARGS(Parrot_pmc_is_null)
 #if PARROT_CATCH_NULL
     return pmc == PMCNULL || pmc == NULL;
 #else


More information about the parrot-commits mailing list