[cig-commits] r4541 - short/3D/PyLith/trunk/modulesrc/meshio
baagaard at geodynamics.org
baagaard at geodynamics.org
Thu Sep 14 18:30:38 PDT 2006
Author: baagaard
Date: 2006-09-14 18:30:37 -0700 (Thu, 14 Sep 2006)
New Revision: 4541
Modified:
short/3D/PyLith/trunk/modulesrc/meshio/meshio.pyxe
Log:
Fixed compilation bugs.
Modified: short/3D/PyLith/trunk/modulesrc/meshio/meshio.pyxe
===================================================================
--- short/3D/PyLith/trunk/modulesrc/meshio/meshio.pyxe 2006-09-15 00:18:51 UTC (rev 4540)
+++ short/3D/PyLith/trunk/modulesrc/meshio/meshio.pyxe 2006-09-15 01:30:37 UTC (rev 4541)
@@ -59,7 +59,7 @@
topology elements.
"""
# create shim for method 'read'
- #embed{ void MeshIO_read(void* pObj, void** ppMeshObj, bool interpolate)
+ #embed{ void MeshIO_read(void* pObj, void** ppMeshObj, int interpolate)
ALE::Obj<ALE::Mesh>* pMesh = new ALE::Obj<ALE::Mesh>;
((pylith::meshio::MeshIO*) pObj)->read(*pMesh, interpolate);
*ppMeshObj = (void*) pMesh;
@@ -67,7 +67,7 @@
cdef void* pMeshObj
pMeshObj = NULL
- MeshIO_interpolate(self.thisptr, &pMeshObj, interpolate)
+ MeshIO_read(self.thisptr, &pMeshObj, interpolate)
return PyCObject_FromVoidPtr(pMeshObj, ALEMesh_destructor)
@@ -80,6 +80,7 @@
ALE::Obj<ALE::Mesh>* pMesh = (ALE::Obj<ALE::Mesh>*) pMeshObj;
((pylith::meshio::MeshIO*) pObj)->write(*pMesh);
#}embed
+ cdef void* pMeshObj
pMeshObj = <void*> PyCObject_AsVoidPtr(mesh)
MeshIO_write(self.thisptr, pMeshObj)
return
More information about the cig-commits
mailing list