[cig-commits] r5182 - cs/merlin/trunk

leif at geodynamics.org leif at geodynamics.org
Mon Nov 6 14:27:58 PST 2006


Author: leif
Date: 2006-11-06 14:27:58 -0800 (Mon, 06 Nov 2006)
New Revision: 5182

Modified:
   cs/merlin/trunk/ld.pyx
   cs/merlin/trunk/mpi-imports.c
Log:
Minor bug fix.


Modified: cs/merlin/trunk/ld.pyx
===================================================================
--- cs/merlin/trunk/ld.pyx	2006-11-06 18:53:08 UTC (rev 5181)
+++ cs/merlin/trunk/ld.pyx	2006-11-06 22:27:58 UTC (rev 5182)
@@ -49,6 +49,7 @@
     cdef int nameLength
     cdef public char *name
     cdef public int flags
+    cdef void *value
 
 
 cdef extern from "":

Modified: cs/merlin/trunk/mpi-imports.c
===================================================================
--- cs/merlin/trunk/mpi-imports.c	2006-11-06 18:53:08 UTC (rev 5181)
+++ cs/merlin/trunk/mpi-imports.c	2006-11-06 22:27:58 UTC (rev 5182)
@@ -44,7 +44,7 @@
 #include "mpi-types.h"
 #include "ld.h"
 
-#define PyImportEntry_INIT(name) PyObject_HEAD_INIT(&PyImportEntry_Type) sizeof(#name)-1, #name, (void *)&__py_imp_ ## name
+#define PyImportEntry_INIT(name) PyObject_HEAD_INIT(&PyImportEntry_Type) sizeof(#name)-1, #name, 0, (void *)&__py_imp_ ## name
 
 #define PyLD_VAR(type, name) type __py_imp_ ## name;
 #define PyLD_FUNC(ret, name, proto, args) \



More information about the cig-commits mailing list