mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 16:37:13 +00:00
21 lines
346 B
Plaintext
21 lines
346 B
Plaintext
<class 'example.EMyEnumeration'>
|
|
EMyEnumeration.EFirstEntry
|
|
EMyEnumeration.ESecondEntry
|
|
EMyEnumeration.EFirstEntry
|
|
test_function()
|
|
False
|
|
test_function(7)
|
|
3.5
|
|
test_function(enum=1)
|
|
None
|
|
test_function(enum=2)
|
|
None
|
|
<class 'example.EMode'>
|
|
EMode.EFirstMode
|
|
EMode.EFirstMode
|
|
Example4::test_function(enum=1)
|
|
bytes[0]=1
|
|
bytes[1]=0
|
|
bytes[2]=2
|
|
bytes[3]=0
|