pybind11/example/example4.ref

21 lines
346 B
Plaintext
Raw Normal View History

2015-07-05 18:05:44 +00:00
<class 'example.EMyEnumeration'>
EMyEnumeration.EFirstEntry
EMyEnumeration.ESecondEntry
EMyEnumeration.EFirstEntry
2015-10-01 14:48:34 +00:00
test_function()
2015-07-05 18:05:44 +00:00
False
2015-10-01 14:48:34 +00:00
test_function(7)
2015-07-05 18:05:44 +00:00
3.5
2015-10-01 14:48:34 +00:00
test_function(enum=1)
2015-07-05 18:05:44 +00:00
None
2015-10-01 14:48:34 +00:00
test_function(enum=2)
2015-07-05 18:05:44 +00:00
None
<class 'example.EMode'>
2015-07-05 18:05:44 +00:00
EMode.EFirstMode
EMode.EFirstMode
2015-10-01 14:48:34 +00:00
Example4::test_function(enum=1)
bytes[0]=1
bytes[1]=0
bytes[2]=2
bytes[3]=0