From b233dc7816c304925802554bbd1600fd9a386740 Mon Sep 17 00:00:00 2001 From: "Andrew J. Burns (Cont" Date: Tue, 19 Nov 2013 15:24:07 -0500 Subject: [PATCH] fix for compatibility with Swig 2.0.11, manually defining the missing object type --- Xdmf.i | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Xdmf.i b/Xdmf.i index 6e466655..21296f0a 100644 --- a/Xdmf.i +++ b/Xdmf.i @@ -17,6 +17,7 @@ swig -v -c++ -python -o XdmfPython.cpp Xdmf.i %module Xdmf %{ + #define SWIGPY_SLICE_ARG(obj) ((PySliceObject*) (obj)) // MPI Includes #include @@ -80,6 +81,7 @@ swig -v -c++ -python -o XdmfPython.cpp Xdmf.i #else %module Xdmf %{ + #define SWIGPY_SLICE_ARG(obj) ((PySliceObject*) (obj)) // XdmfCore Includes #include -- 2.22.2