added a few basic number types

This commit is contained in:
Wenzel Jakob
2015-08-28 17:49:15 +02:00
parent 43dbdfd0e7
commit 7b8e032c26
3 changed files with 12 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ bool test_callback1(py::object func) {
}
int test_callback2(py::object func) {
py::object result = func.call("Hello", true, 5);
py::object result = func.call("Hello", 'x', true, 5);
return result.cast<int>();
}