Commit 24eebf7
authored
[cpp] Overhaul resource ownership and record passing (bytecodealliance#1327)
* Use value types for asymmetric API
* Correct test arguments
* Update docs
* Format
* Review feedback
* Implement different ownership rules
* Fix rebase errors
* Remove old file
* Revert wit::string changes
* format
* Fix borrowed handles in lists
* Formatting1 parent eb2da2f commit 24eebf7
File tree
14 files changed
+517
-257
lines changed- crates/cpp
- helper-types
- src
- tests/runtime
- cpp/param-ownership
- cpp
- lists
- records
- resource_borrow_in_record
- cpp
- results
- variants
14 files changed
+517
-257
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
98 | 110 | | |
99 | 111 | | |
100 | 112 | | |
| |||
113 | 125 | | |
114 | 126 | | |
115 | 127 | | |
116 | | - | |
| 128 | + | |
117 | 129 | | |
118 | 130 | | |
119 | 131 | | |
| |||
0 commit comments