mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-06 07:51:47 +00:00
keep_alive call policy (analogous to Boost.Python's with_custodian_and_ward, fixes #62)
This commit is contained in:
25
example/example13.ref
Normal file
25
example/example13.ref
Normal file
@@ -0,0 +1,25 @@
|
||||
Allocating parent.
|
||||
Allocating child.
|
||||
Releasing child.
|
||||
<example.Parent object at 0x10eb726c0>
|
||||
Releasing parent.
|
||||
|
||||
Allocating parent.
|
||||
Allocating child.
|
||||
Releasing child.
|
||||
<example.Parent object at 0x10eb726c0>
|
||||
Releasing parent.
|
||||
|
||||
Allocating parent.
|
||||
Allocating child.
|
||||
<example.Parent object at 0x10eb726c0>
|
||||
Releasing parent.
|
||||
Releasing child.
|
||||
|
||||
Allocating parent.
|
||||
Allocating child.
|
||||
<example.Parent object at 0x10eb726c0>
|
||||
Releasing parent.
|
||||
Releasing child.
|
||||
|
||||
Terminating..
|
||||
Reference in New Issue
Block a user