diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2013-06-11 19:15:57 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2013-06-11 19:15:57 +0100 |
commit | 7f95c7bb3efe0f282833a71b50818cf46d80cc1a (patch) | |
tree | f5f8e9a3baff3c05af80604d66868cbb23956c6c /Doc/Manual | |
parent | 5cdfc503e18e1f5b8895516c591332fda371d879 (diff) | |
download | swig-7f95c7bb3efe0f282833a71b50818cf46d80cc1a.tar.gz |
Use a less confusing macro name, SWIG_PYTHON_NO_DEBUG => SWIG_PYTHON_INTERPRETER_NO_DEBUG
Diffstat (limited to 'Doc/Manual')
-rw-r--r-- | Doc/Manual/Python.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/Manual/Python.html b/Doc/Manual/Python.html index fd7bfca4e..3dde20887 100644 --- a/Doc/Manual/Python.html +++ b/Doc/Manual/Python.html @@ -874,7 +874,7 @@ the build options of project to try and track this down. A 'Debug' build of the wrappers requires a debug build of the Python interpreter. This normally requires building the Python interpreter from source, which is not a job for the feint-hearted. Alternatively you can use the 'Release' build of the -Python interpreter with a 'Debug' build of your wrappers by defining the <tt>SWIG_PYTHON_NO_DEBUG</tt> +Python interpreter with a 'Debug' build of your wrappers by defining the <tt>SWIG_PYTHON_INTERPRETER_NO_DEBUG</tt> symbol under the preprocessor options. Or you can ensure this macro is defined at the beginning of the wrapper code using the following in your interface file, where <tt>_MSC_VER</tt> ensures it is only used by the Visual Studio compiler: @@ -883,7 +883,7 @@ only used by the Visual Studio compiler: <div class="code"><pre> %begin %{ #ifdef _MSC_VER -#define SWIG_PYTHON_NO_DEBUG +#define SWIG_PYTHON_INTERPRETER_NO_DEBUG #endif %} </pre></div> |