Commit ae10af44 authored by Andrew J. Burns (Cont's avatar Andrew J. Burns (Cont

fix for compatibility with Swig 2.0.11, manually defining the missing object type

parent f4adbc22
...@@ -8,6 +8,7 @@ swig -v -c++ -python -o XdmfPython.cpp Xdmf.i ...@@ -8,6 +8,7 @@ swig -v -c++ -python -o XdmfPython.cpp Xdmf.i
%module Xdmf %module Xdmf
%{ %{
#define SWIGPY_SLICE_ARG(obj) ((PySliceObject*) (obj))
// MPI Includes // MPI Includes
#include <mpi.h> #include <mpi.h>
...@@ -71,6 +72,7 @@ swig -v -c++ -python -o XdmfPython.cpp Xdmf.i ...@@ -71,6 +72,7 @@ swig -v -c++ -python -o XdmfPython.cpp Xdmf.i
#else #else
%module Xdmf %module Xdmf
%{ %{
#define SWIGPY_SLICE_ARG(obj) ((PySliceObject*) (obj))
// XdmfCore Includes // XdmfCore Includes
#include <Xdmf.hpp> #include <Xdmf.hpp>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment