You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -475,12 +477,12 @@ The dynamic library is the safest and most-versatile choice:
475
477
It might be appropriate to use the static Boost.Python library in
476
478
any of the following cases:
477
479
478
-
* You are extending python and the types exposed in your
480
+
* You are _extending_ python and the types exposed in your
479
481
dynamically-loaded extension module don't need to be used by any
480
482
other Boost.Python extension modules, and you don't care if the
481
483
core library code is duplicated among them.
482
484
483
-
* You are embedding python in your application and either:
485
+
* You are _embedding_ python in your application and either:
484
486
485
487
* You are targeting a Unix variant OS other than MacOS or AIX,
486
488
where the dynamically-loaded extension modules can “see” the
@@ -506,7 +508,7 @@ any of the following cases:
506
508
`wrap_python.hpp`. This restriction is actually imposed by
507
509
Python, or more properly, by Python's interaction with your
508
510
operating system. See
509
-
http://docs.python.org/ext/simpleExample.html for details.
511
+
[@http://docs.python.org/ext/simpleExample.html] for details.
510
512
511
513
[endsect]
512
514
[section Python Debugging Builds]
@@ -521,7 +523,7 @@ vice-versa.*
521
523
522
524
Since pre-built “python debugging” versions of the Python
523
525
executable and libraries are not supplied with most distributions
524
-
of Python, [#get-debug-build]_ and we didn't want to force our users
526
+
of Python, [footnote On Unix and similar platforms, a debugging python and associated libraries are built by adding --with-pydebug when configuring the Python build. On Windows, the debugging version of Python is generated by the "Win32 Debug" target of the Visual Studio project in the PCBuild subdirectory of a full Python source code distribution.] and we didn't want to force our users
525
527
to build them, Boost.Build does not automatically enable python
526
528
debugging in its `debug` build variant (which is the default).
527
529
Instead there is a special build property called
@@ -535,7 +537,7 @@ On many windows compilers, when extension modules are built with
535
537
the preprocessor symbol `_DEBUG`, Python defaults to force
536
538
linking with a special debugging version of the Python DLL. Since
537
539
that symbol is very commonly used even when Python is not present,
538
-
Boost.Python temporarily undefines _DEBUG when Python.h
540
+
Boost.Python temporarily undefines `_DEBUG` when `Python.h`
539
541
is #included from `boost/python/detail/wrap_python.hpp` - unless
540
542
`BOOST_DEBUG_PYTHON` is defined. The upshot is that if you want
541
543
“python debugging”and you aren't using Boost.Build, you should make
@@ -556,8 +558,9 @@ prior to 3.0.0 (with binutils-2.13.90-20030111-1), you will need to
556
558
create a MinGW-compatible version of the Python library; the one
557
559
shipped with Python will only work with a Microsoft-compatible
558
560
linker. Follow the instructions in the “Non-Microsoft” section of
559
-
the “Building Extensions: Tips And Tricks” chapter in [@http://www.python.org/doc/current/inst/index.html Installing Python Modules] to create `libpythonXX.a`, where `XX`
560
-
corresponds to the major and minor version numbers of your Python
561
-
installation.
561
+
the “Building Extensions: Tips And Tricks” chapter in
Copy file name to clipboardExpand all lines: doc/configuration.qbk
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,12 @@
9
9
[section Configuration]
10
10
11
11
[section Introduction]
12
-
*Boost.Python* uses several configuration macros in `<boost/config.hpp>`, as well as configuration macros meant to be supplied by the application. These macros are documented here.
12
+
[*Boost.Python] uses several configuration macros in `<boost/config.hpp>`, as well as configuration macros meant to be supplied by the application. These macros are documented here.
13
13
14
14
[endsect]
15
15
[section Application Defined Macros]
16
16
17
-
These are the macros that may be defined by an application using Boost.Python. Note that if you extend a strict interpretation of the C++ standard to cover dynamic libraries, using different values of these macros when compiling different libraries (including extension modules and the Boost.Python library itself) is a violation of the ODR. However, we know of no C++ implementations on which this particular violation is detectable or causes any problems.
17
+
These are the macros that may be defined by an application using Boost.Python. Note that if you extend a strict interpretation of the C++ standard to cover dynamic libraries, using different values of these macros when compiling different libraries (including extension modules and the Boost.Python library itself) is a violation of the [link odr ODR]. However, we know of no C++ implementations on which this particular violation is detectable or causes any problems.
18
18
19
19
[table
20
20
[[Macro][Default][Meaning]]
@@ -49,7 +49,7 @@ These are the macros that may be defined by an application using Boost.Python. N
49
49
]
50
50
[endsect]
51
51
[section Library Defined Defined Macros]
52
-
52
+
These macros are defined by *Boost.Python* and are implementation details of interest only to implementors and those porting to new platforms.
0 commit comments