Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
VTK
VTK
Commits
1ab26ad6
Commit
1ab26ad6
authored
Aug 09, 2015
by
David Gobbi
Browse files
Add include guard to vtkPythonCompatibility.h
parent
26ad0555
Changes
1
Hide whitespace changes
Inline
Side-by-side
Wrapping/PythonCore/vtkPythonCompatibility.h
View file @
1ab26ad6
...
...
@@ -16,6 +16,8 @@
This header contains macros to make Python 2 and Python 3 play nice.
It must be included after vtkPython.h.
-----------------------------------------------------------------------*/
#ifndef vtkPythonCompatibility_h
#define vtkPythonCompatibility_h
// define our main check macro VTK_PY3K
#if PY_MAJOR_VERSION >= 3
...
...
@@ -128,3 +130,4 @@ typedef struct bufferinfo { PyObject *obj; } Py_buffer;
#endif
#endif
#endif
David Gobbi
@dgobbi
mentioned in commit
1816c05a
·
Aug 09, 2015
mentioned in commit
1816c05a
mentioned in commit 1816c05a2a5c6f56c140dfa28354d4aac4f2a041
Toggle commit list
Write
Preview
Supports
Markdown
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