mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-23 05:35:13 +00:00
b3f3d79f4c
This renames example files from `exampleN` to `example-description`. Specifically, the following renaming is applied: example1 -> example-methods-and-attributes example2 -> example-python-types example3 -> example-operator-overloading example4 -> example-constants-and-functions example5 -> example-callbacks (*) example6 -> example-sequence-and-iterators example7 -> example-buffers example8 -> example-custom-ref-counting example9 -> example-modules example10 -> example-numpy-vectorize example11 -> example-arg-keywords-and-defaults example12 -> example-virtual-functions example13 -> example-keep-alive example14 -> example-opaque-types example15 -> example-pickling example16 -> example-inheritance example17 -> example-stl-binders example18 -> example-eval example19 -> example-custom-exceptions * the inheritance parts of example5 are moved into example-inheritance (previously example16), and the remainder is left as example-callbacks. This commit also renames the internal variables ("Example1", "Example2", "Example4", etc.) into non-numeric names ("ExampleMandA", "ExamplePythonTypes", "ExampleWithEnum", etc.) to correspond to the file renaming. The order of tests is preserved, but this can easily be changed if there is some more natural ordering by updating the list in examples/CMakeLists.txt.
244 lines
5.4 KiB
Plaintext
244 lines
5.4 KiB
Plaintext
MyObject1[1] constructor
|
|
Initialized ref from pointer 0x1347ba0
|
|
MyObject1[2] constructor
|
|
Initialized ref from pointer 0x12b9270
|
|
Initialized ref from ref 0x12b9270
|
|
Destructing ref 0x12b9270
|
|
MyObject1[3] constructor
|
|
Initialized ref from pointer 0x12a2a90
|
|
MyObject1[1]
|
|
Created empty ref
|
|
Assigning ref 0x1347ba0
|
|
Initialized ref from ref 0x1347ba0
|
|
MyObject1[1]
|
|
Destructing ref 0x1347ba0
|
|
Destructing ref 0x1347ba0
|
|
Created empty ref
|
|
Assigning ref 0x1347ba0
|
|
MyObject1[1]
|
|
Destructing ref 0x1347ba0
|
|
Created empty ref
|
|
Assigning ref 0x1347ba0
|
|
MyObject1[1]
|
|
Destructing ref 0x1347ba0
|
|
MyObject1[2]
|
|
Created empty ref
|
|
Assigning ref 0x12b9270
|
|
Initialized ref from ref 0x12b9270
|
|
MyObject1[2]
|
|
Destructing ref 0x12b9270
|
|
Destructing ref 0x12b9270
|
|
Created empty ref
|
|
Assigning ref 0x12b9270
|
|
MyObject1[2]
|
|
Destructing ref 0x12b9270
|
|
Created empty ref
|
|
Assigning ref 0x12b9270
|
|
MyObject1[2]
|
|
Destructing ref 0x12b9270
|
|
MyObject1[3]
|
|
Created empty ref
|
|
Assigning ref 0x12a2a90
|
|
Initialized ref from ref 0x12a2a90
|
|
MyObject1[3]
|
|
Destructing ref 0x12a2a90
|
|
Destructing ref 0x12a2a90
|
|
Created empty ref
|
|
Assigning ref 0x12a2a90
|
|
MyObject1[3]
|
|
Destructing ref 0x12a2a90
|
|
Created empty ref
|
|
Assigning ref 0x12a2a90
|
|
MyObject1[3]
|
|
Destructing ref 0x12a2a90
|
|
Destructing ref 0x12b9270
|
|
MyObject1[2] destructor
|
|
Destructing ref 0x1347ba0
|
|
MyObject1[1] destructor
|
|
MyObject1[4] constructor
|
|
Initialized ref from pointer 0x1347ba0
|
|
MyObject1[5] constructor
|
|
Initialized ref from pointer 0x1299190
|
|
Initialized ref from ref 0x1299190
|
|
Destructing ref 0x1299190
|
|
MyObject1[6] constructor
|
|
Initialized ref from pointer 0x133e2f0
|
|
Destructing ref 0x12a2a90
|
|
MyObject1[3] destructor
|
|
MyObject1[4]
|
|
Created empty ref
|
|
Assigning ref 0x1347ba0
|
|
Initialized ref from ref 0x1347ba0
|
|
MyObject1[4]
|
|
Destructing ref 0x1347ba0
|
|
Destructing ref 0x1347ba0
|
|
Created empty ref
|
|
Assigning ref 0x1347ba0
|
|
MyObject1[4]
|
|
Destructing ref 0x1347ba0
|
|
Created empty ref
|
|
Assigning ref 0x1347ba0
|
|
MyObject1[4]
|
|
Destructing ref 0x1347ba0
|
|
MyObject1[4]
|
|
Created empty ref
|
|
Assigning ref 0x1347ba0
|
|
Initialized ref from ref 0x1347ba0
|
|
MyObject1[4]
|
|
Destructing ref 0x1347ba0
|
|
Destructing ref 0x1347ba0
|
|
Created empty ref
|
|
Assigning ref 0x1347ba0
|
|
MyObject1[4]
|
|
Destructing ref 0x1347ba0
|
|
Created empty ref
|
|
Assigning ref 0x1347ba0
|
|
MyObject1[4]
|
|
Destructing ref 0x1347ba0
|
|
MyObject1[5]
|
|
Created empty ref
|
|
Assigning ref 0x1299190
|
|
Initialized ref from ref 0x1299190
|
|
MyObject1[5]
|
|
Destructing ref 0x1299190
|
|
Destructing ref 0x1299190
|
|
Created empty ref
|
|
Assigning ref 0x1299190
|
|
MyObject1[5]
|
|
Destructing ref 0x1299190
|
|
Created empty ref
|
|
Assigning ref 0x1299190
|
|
MyObject1[5]
|
|
Destructing ref 0x1299190
|
|
MyObject1[5]
|
|
Created empty ref
|
|
Assigning ref 0x1299190
|
|
Initialized ref from ref 0x1299190
|
|
MyObject1[5]
|
|
Destructing ref 0x1299190
|
|
Destructing ref 0x1299190
|
|
Created empty ref
|
|
Assigning ref 0x1299190
|
|
MyObject1[5]
|
|
Destructing ref 0x1299190
|
|
Created empty ref
|
|
Assigning ref 0x1299190
|
|
MyObject1[5]
|
|
Destructing ref 0x1299190
|
|
MyObject1[6]
|
|
Created empty ref
|
|
Assigning ref 0x133e2f0
|
|
Initialized ref from ref 0x133e2f0
|
|
MyObject1[6]
|
|
Destructing ref 0x133e2f0
|
|
Destructing ref 0x133e2f0
|
|
Created empty ref
|
|
Assigning ref 0x133e2f0
|
|
MyObject1[6]
|
|
Destructing ref 0x133e2f0
|
|
Created empty ref
|
|
Assigning ref 0x133e2f0
|
|
MyObject1[6]
|
|
Destructing ref 0x133e2f0
|
|
MyObject1[6]
|
|
Created empty ref
|
|
Assigning ref 0x133e2f0
|
|
Initialized ref from ref 0x133e2f0
|
|
MyObject1[6]
|
|
Destructing ref 0x133e2f0
|
|
Destructing ref 0x133e2f0
|
|
Created empty ref
|
|
Assigning ref 0x133e2f0
|
|
MyObject1[6]
|
|
Destructing ref 0x133e2f0
|
|
Created empty ref
|
|
Assigning ref 0x133e2f0
|
|
MyObject1[6]
|
|
Destructing ref 0x133e2f0
|
|
MyObject1[7] constructor
|
|
Initialized ref from pointer 0x133f3a0
|
|
MyObject1[7]
|
|
Destructing ref 0x133f3a0
|
|
MyObject1[7] destructor
|
|
Created empty ref
|
|
MyObject1[7] constructor
|
|
Initialized ref from pointer 0x12a2a90
|
|
Assigning ref 0x12a2a90
|
|
Initialized ref from ref 0x12a2a90
|
|
MyObject1[7]
|
|
Destructing ref 0x12a2a90
|
|
Destructing ref 0x12a2a90
|
|
Destructing ref 0x12a2a90
|
|
MyObject1[7] destructor
|
|
Created empty ref
|
|
MyObject1[7] constructor
|
|
Initialized ref from pointer 0x133f3a0
|
|
Assigning ref 0x133f3a0
|
|
MyObject1[7]
|
|
Destructing ref 0x133f3a0
|
|
Destructing ref 0x133f3a0
|
|
MyObject1[7] destructor
|
|
Created empty ref
|
|
MyObject1[7] constructor
|
|
Initialized ref from pointer 0x12a2a90
|
|
Assigning ref 0x12a2a90
|
|
MyObject1[7]
|
|
Destructing ref 0x12a2a90
|
|
Destructing ref 0x12a2a90
|
|
MyObject1[7] destructor
|
|
Destructing ref 0x133e2f0
|
|
MyObject1[6] destructor
|
|
Destructing ref 0x1299190
|
|
MyObject1[5] destructor
|
|
Destructing ref 0x1347ba0
|
|
MyObject1[4] destructor
|
|
MyObject2[8] constructor
|
|
MyObject2[6] constructor
|
|
MyObject2[7] constructor
|
|
MyObject2[8]
|
|
MyObject2[8]
|
|
MyObject2[8]
|
|
MyObject2[8]
|
|
MyObject2[6]
|
|
MyObject2[6]
|
|
MyObject2[6]
|
|
MyObject2[6]
|
|
MyObject2[7]
|
|
MyObject2[7]
|
|
MyObject2[7]
|
|
MyObject2[7]
|
|
MyObject2[6] destructor
|
|
MyObject2[8] destructor
|
|
MyObject3[9] constructor
|
|
MyObject3[8] constructor
|
|
MyObject3[9] constructor
|
|
MyObject2[7] destructor
|
|
MyObject3[9]
|
|
MyObject3[9]
|
|
MyObject3[9]
|
|
MyObject3[9]
|
|
MyObject3[8]
|
|
MyObject3[8]
|
|
MyObject3[8]
|
|
MyObject3[8]
|
|
MyObject3[9]
|
|
MyObject3[9]
|
|
MyObject3[9]
|
|
MyObject3[9]
|
|
MyObject3[8] destructor
|
|
MyObject3[9] destructor
|
|
Reference count = 1
|
|
Reference count = 1
|
|
Reference count = 1
|
|
<example.MyObject1 object at 0x7f830b500e68>
|
|
<example.MyObject1 object at 0x7f830b4fc688>
|
|
<example.MyObject1 object at 0x7f830b4fc5a8>
|
|
7
|
|
<example.MyObject2 object at 0x7f830b50b330>
|
|
<example.MyObject2 object at 0x7f830b50bdb0>
|
|
<example.MyObject2 object at 0x7f83098f6330>
|
|
<example.MyObject3 object at 0x7f830b50b330>
|
|
<example.MyObject3 object at 0x7f830b50bdb0>
|
|
<example.MyObject3 object at 0x7f83098f6370>
|
|
MyObject3[9] destructor
|