| 294 | } |
| 295 | |
| 296 | void copy(const Raw &other) { |
| 297 | if (other) { |
| 298 | wasmtime_component_val_t clone; |
| 299 | wasmtime_component_val_clone(other, &clone); |
| 300 | raw = wasmtime_component_val_new(&clone); |
| 301 | } else { |
| 302 | raw = nullptr; |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | void destroy() { wasmtime_component_val_free(raw); } |
| 307 |
nothing calls this directly
no test coverage detected