mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-30 03:17:02 +00:00
added a few basic number types
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user