alexcrichton opened PR #11936 from alexcrichton:refactor-cpp-api to bytecodealliance:main:
This commit adds a shared macro to simplify ownership management in the C++ API and to additionally have a uniform API across types. This is inspired by the component model work where I felt like I was copy/pasting quite a lot and wanted to cut down on that.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested pchickey for a review on PR #11936.
alexcrichton requested wasmtime-core-reviewers for a review on PR #11936.
alexcrichton updated PR #11936.
alexcrichton commented on PR #11936:
ping @pchickey, mind taking a look at this?
pchickey submitted PR review:
Sorry, I lost this one
alexcrichton updated PR #11936.
alexcrichton has enabled auto merge for PR #11936.
alexcrichton has disabled auto merge for PR #11936.
alexcrichton merged PR #11936.
Last updated: Dec 06 2025 at 06:05 UTC