We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fef288f commit 96e9d6aCopy full SHA for 96e9d6a
2 files changed
example/Jamfile
@@ -60,4 +60,22 @@ boost-python-runtest test2
60
: # Python test driver
61
test_getting_started2.py
62
# extension modules to use
63
- <pyd>getting_started2 ;
+ <pyd>getting_started2 ;
64
+
65
+# ----- std_pair -------
66
67
+# Declare a Python extension called std_pair
68
+extension std_pair_ext
69
+: # sources
70
+ std_pair.cpp
71
72
+ # requirements and dependencies for Boost.Python extensions
73
+ <template>@boost/libs/python/build/extension
74
+ ;
75
76
+# Declare a test for the extension module
77
+boost-python-runtest test3
78
+ : # Python test driver
79
+ test_std_pair.py
80
+ # extension modules to use
81
+ <pyd>std_pair_ext ;
example/test_std_pair.py
@@ -0,0 +1,3 @@
1
+import std_pair_ext
2
+assert std_pair_ext.foo() == (3, 5)
3
+print "OK"
0 commit comments