Commit 2cf192f5 by Wenzel Jakob

fixed testcase to take enum->int conversion into account

parent edbdef7c
......@@ -31,13 +31,13 @@ bool test_function1() {
return false;
}
float test_function2(int i) {
std::cout << "test_function(" << i << ")" << std::endl;
return i / 2.f;
void test_function2(EMyEnumeration k) {
std::cout << "test_function(enum=" << k << ")" << std::endl;
}
void test_function3(EMyEnumeration k) {
std::cout << "test_function(enum=" << k << ")" << std::endl;
float test_function3(int i) {
std::cout << "test_function(" << i << ")" << std::endl;
return i / 2.f;
}
void init_ex4(py::module &m) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment