Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
debian
VTK
Commits
1ab26ad6
Commit
1ab26ad6
authored
9 years ago
by
David Gobbi
Browse files
Options
Downloads
Patches
Plain Diff
Add include guard to vtkPythonCompatibility.h
parent
26ad0555
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Wrapping/PythonCore/vtkPythonCompatibility.h
+3
-0
3 additions, 0 deletions
Wrapping/PythonCore/vtkPythonCompatibility.h
with
3 additions
and
0 deletions
Wrapping/PythonCore/vtkPythonCompatibility.h
+
3
−
0
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment