File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 124124< p >
125125 </ p >
126126< pre class ="programlisting "> < span class ="special "> >>></ span > < span class ="keyword "> import</ span > < span class ="identifier "> hello_ext</ span >
127- < span class ="special "> >>></ span > < span class ="keyword "> print</ span > < span class ="identifier "> hello </ span > < span class ="special "> .</ span > < span class ="identifier "> greet</ span > < span class ="special "> ()</ span >
127+ < span class ="special "> >>></ span > < span class ="keyword "> print</ span > < span class ="identifier "> hello_ext </ span > < span class ="special "> .</ span > < span class ="identifier "> greet</ span > < span class ="special "> ()</ span >
128128< span class ="identifier "> hello</ span > < span class ="special "> ,</ span > < span class ="identifier "> world</ span >
129129</ pre >
130130< p >
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ resulting DLL is now visible to Python. Here's a sample Python session:
6262[python]
6363
6464 >>> import hello_ext
65- >>> print hello .greet()
65+ >>> print hello_ext .greet()
6666 hello, world
6767
6868[c++]
Original file line number Diff line number Diff line change 33# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
44
55import python ;
6+ import os ;
7+
8+ lib socket ;
69
710use-project /boost/python : ../build ;
811project /boost/python/test
912 : requirements
1013 <toolset>gcc:<cxxflags>-Wextra
14+ <target-os>qnxnto:<library>socket
1115 ;
1216
1317local PY = ;
You can’t perform that action at this time.
0 commit comments