Changeset 19512

Show
Ignore:
Timestamp:
11/14/06 13:37:48 (2 years ago)
Author:
patrick
Message:

Merges from the trunk:

r19068: Add Python.h wrapper to prevent python from automatically using

and trying to link against.

r19235: Use native line endings [for wrap_python.h], and do not make

[it] executable.

r19236: Spell "Boost.Python" correctly [in wrap_python.h].

r19237: Removed trailing whitespace [from wrap_python.h].

r19511: Removed commented out #include [in InterpreterGuard?.h].

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • PyJuggler/branches/1.0/pyjutil/InterpreterGuard.h

    r18527 r19512  
    66#define _PYJUGGLER_INTERPRETER_GUARD_H_ 
    77 
    8 #include <Python.h> 
     8#include "wrap_python.h" 
    99 
    1010#include <vpr/vpr.h> 
  • PyJuggler/branches/1.0/pyjutil/wrap_python.h

    • Property svn:eol-style set to native
    • Property svn:executable deleted
    r19068 r19512  
    55// Based on: boost/python/detail/wrap_python.hpp from Boost.Python libary. 
    66// 
    7 // NOTE: If you are using boost.python just go ahead and include the file from boost.python 
    8 // before including anything from this library. 
     7// NOTE: If you are using Boost.Python just go ahead and include the file from 
     8// Boost.python before including anything from this library. 
    99 
    1010//  This file serves as a wrapper around <Python.h> which allows it to be 
     
    2020#ifdef _DEBUG 
    2121# ifndef PYJUTIL_DEBUG_PYTHON 
    22 #  ifdef _MSC_VER   
     22#  ifdef _MSC_VER 
    2323    // VC8.0 will complain if system headers are #included both with 
    2424    // and without _DEBUG defined, so we have to #include all the 
     
    6161# pragma warning(disable:4786) 
    6262#endif 
    63  
    64