We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8faa1e9 + 21c9b41 commit 8d42f06Copy full SHA for 8d42f06
12-Exceptions/myexceptions.cpp
@@ -17,5 +17,5 @@ BOOST_PYTHON_MODULE(myexceptions)
17
{
18
register_exception_translator<OutOfSteakException>(translateException);
19
20
- def("someFunction", someFunction);
+ def("someFunction", &someFunction);
21
}
0 commit comments