mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-12 17:26:13 +00:00
enable passing C++ instances to void*-valued arguments
This commit is contained in:
@@ -5,8 +5,14 @@ Back element is Element 2
|
||||
Opaque list: [Element 1]
|
||||
Opaque list: []
|
||||
Opaque list: [Element 1, Element 3]
|
||||
Got void ptr : 1234
|
||||
Got void ptr : 0x1234
|
||||
Called Example1 default constructor..
|
||||
Got void ptr : 0x7f9ba0f3c430
|
||||
Called Example1 destructor (0)
|
||||
Caught expected exception: Incompatible function arguments. The following argument types are supported:
|
||||
1. (capsule) -> NoneType
|
||||
|
||||
None
|
||||
Got null str : 0
|
||||
<example.StringList object at 0x104a47500>
|
||||
Got null str : 0x0
|
||||
<example.StringList object at 0x10d3277a0>
|
||||
Opaque list: [some value]
|
||||
|
||||
Reference in New Issue
Block a user