Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xdmf
Xdmf
Commits
e3018ed0
Commit
e3018ed0
authored
Oct 30, 2013
by
Sankhesh Jhaveri
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Python wrapping on Linux for SWIG version >= 2.0
Added missing definition for macro SWIGPY_SLICE_ARG
parent
dda62b58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
Xdmf.i
Xdmf.i
+9
-0
No files found.
Xdmf.i
View file @
e3018ed0
...
...
@@ -3,6 +3,15 @@ XdmfPython.cpp:
swig -v -c++ -python -o XdmfPython.cpp Xdmf.i
*/
%
{
#
include
<
cstddef
>
#
include
<
iostream
>
#
if
PY_VERSION_HEX
>=
0x03020000
#
define
SWIGPY_SLICE_ARG
(
obj
)
((
PyObject
*
)
(
obj
))
#
else
#
define
SWIGPY_SLICE_ARG
(
obj
)
((
PySliceObject
*
)
(
obj
))
#
endif
%
}
#
ifdef
XDMF_BUILD_DSM
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment