pybind11/example/example5.ref

15 lines
315 B
Plaintext
Raw Normal View History

2015-07-05 18:05:44 +00:00
Polly is a parrot
Polly is a parrot
Molly is a dog
2015-10-01 14:48:34 +00:00
Molly is a dog
Woof!
2015-07-05 18:05:44 +00:00
The following error is expected: Incompatible function arguments. The following argument types are supported:
2015-10-01 14:48:34 +00:00
1. (Dog) -> None
2015-07-05 18:05:44 +00:00
Callback function 1 called!
False
2015-10-01 14:48:34 +00:00
Callback function 2 called : Hello, x, True, 5
2015-07-05 18:05:44 +00:00
5
2015-10-01 14:48:34 +00:00
func(43) = 44
func(43) = 44