[svn:parrot] r41712 - branches/pcc_reapply/src

bacek at svn.parrot.org bacek at svn.parrot.org
Sun Oct 4 21:28:30 UTC 2009


Author: bacek
Date: Sun Oct  4 21:28:28 2009
New Revision: 41712
URL: https://trac.parrot.org/parrot/changeset/41712

Log:
[cage] Properly fix nci_test.

Modified:
   branches/pcc_reapply/src/nci_test.c

Modified: branches/pcc_reapply/src/nci_test.c
==============================================================================
--- branches/pcc_reapply/src/nci_test.c	Sun Oct  4 21:03:52 2009	(r41711)
+++ branches/pcc_reapply/src/nci_test.c	Sun Oct  4 21:28:28 2009	(r41712)
@@ -36,7 +36,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <parrot/config.h>
+#include <parrot/parrot.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -747,7 +747,7 @@
 PARROT_EXPORT void
 nci_vP(void *pmc)
 {
-    if (pmc)
+    if (!PMC_IS_NULL(pmc))
         puts("ok");
     else
         puts("got null");


More information about the parrot-commits mailing list