blob: d6ab75eb6b2183ee49e0984126f8b20668b73ca3 [file] [log] [blame]
Wenzel Jakob48548ea2016-01-17 22:36:44 +01001Rabbit is a parrot
Wenzel Jakob48548ea2016-01-17 22:36:44 +01002Rabbit is a parrot
3Polly is a parrot
Wenzel Jakob954b7932016-07-10 10:13:18 +02004Polly is a parrot
Wenzel Jakob48548ea2016-01-17 22:36:44 +01005Molly is a dog
Wenzel Jakob954b7932016-07-10 10:13:18 +02006Molly is a dog
7Woof!
Wenzel Jakob48548ea2016-01-17 22:36:44 +01008The following error is expected: Incompatible function arguments. The following argument types are supported:
Dean Moldovanecced6c2016-07-31 20:03:18 +02009 1. (arg0: example.Dog) -> NoneType
Wenzel Jakob954b7932016-07-10 10:13:18 +020010 Invoked with: <example.Pet object at 0>
Wenzel Jakob48548ea2016-01-17 22:36:44 +010011Callback function 1 called!
12False
13Callback function 2 called : Hello, x, True, 5
145
Ben Pritchard1b522462016-03-10 16:31:38 -050015Callback function 2 called : Hello, from, partial, object
16False
17Callback function 3 called : Partial object with one argument
18False
Wenzel Jakob48548ea2016-01-17 22:36:44 +010019func(43) = 44
Wenzel Jakob954b7932016-07-10 10:13:18 +020020func(43) = 44
Brad Harmon835fc062016-06-16 13:19:15 -050021func(number=43) = 44
Wenzel Jakob954b7932016-07-10 10:13:18 +020022Payload constructor
23Payload copy constructor
24Payload move constructor
25Payload destructor
26Payload destructor
27Payload destructor
28argument matches dummy_function
29eval(1) = 2
30roundtrip..
31argument matches dummy_function
32eval(1) = 2
33could not convert to a function pointer.
34eval(1) = 3
35could not convert to a function pointer.
36All OK!
37could not convert to a function pointer.
38All OK!