Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkPython.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkPython.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 #ifndef __vtkPython_h
00016 #define __vtkPython_h
00017 
00018 #undef _POSIX_THREADS
00019 
00020 #include "vtkToolkits.h"
00021 
00022 /* Use the real python debugging library if it is provided.  */
00023 #if defined(VTK_WINDOWS_PYTHON_DEBUGGABLE)
00024 # include <Python.h>
00025 #else
00026 # ifdef _DEBUG
00027 #  undef _DEBUG
00028 #  include <Python.h>
00029 #  define _DEBUG
00030 # else
00031 #  include <Python.h>
00032 # endif
00033 #endif
00034 
00035 #endif