<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in val.hh</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>0126a941 - Add `anyref` downcast methods to the C and C++ APIs (#12917)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh#0126a941</link>
        <description>Add `anyref` downcast methods to the C and C++ APIs (#12917)

            List of files:
            /wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh</description>
        <pubDate>Fri, 03 Apr 2026 19:25:55 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>fc8dc5d2 - Add support for `arrayref`s to the C and C++ APIs (#12916)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh#fc8dc5d2</link>
        <description>Add support for `arrayref`s to the C and C++ APIs (#12916)* Add support for `arrayref`s to the C and C++ APIsAlso array types and `ArrayRefPre`.* add docs and address similar issues from structref PR&apos;s review* fix doc build

            List of files:
            /wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh</description>
        <pubDate>Fri, 03 Apr 2026 18:26:20 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>f960e9af - Add support for `structref` to the C and C++ APIs (#12915)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh#f960e9af</link>
        <description>Add support for `structref` to the C and C++ APIs (#12915)* Add support for `structref` to the C and C++ APIsAlso requires adding support for struct and field types, as well as`StructRefPre`.* review feedback and rebase* fix doc build* really fix doc build* fix more docs

            List of files:
            /wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh</description>
        <pubDate>Thu, 02 Apr 2026 19:34:31 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>a46300a7 - Add `eqref` support to the C and C++ APIs (#12914)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh#a46300a7</link>
        <description>Add `eqref` support to the C and C++ APIs (#12914)* Add `eqref` support to the C and C++ APIs* fix doc build

            List of files:
            /wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh</description>
        <pubDate>Wed, 01 Apr 2026 19:03:49 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>0dbb6f3d - Exceptions: implement C API. (#12861)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh#0dbb6f3d</link>
        <description>Exceptions: implement C API. (#12861)* Exceptions: implement C API.This PR implements C (and C++) API support for Wasm exceptions, onefinal remaining hurdle (aside from fuzz-testing) for making exceptionstier-1 and on-by-default.* Review feedback, and add exnref case to `wasmtime_val_t`.* Review feedback: GC feature guard.* clang-format* add docs to exn.hh.* Remove tag size asserts: broken on 32-bit platforms, but not needed for correctness wrt C struct.

            List of files:
            /wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh</description>
        <pubDate>Tue, 31 Mar 2026 22:56:28 +0000</pubDate>
        <dc:creator>Chris Fallin &lt;chris@cfallin.org&gt;</dc:creator>
    </item>
<item>
        <title>579ec46b - capi: Start filling out C++ API for components (#11880)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh#579ec46b</link>
        <description>capi: Start filling out C++ API for components (#11880)* capi: Start filling out C++ API for componentsI&apos;d like to write some fancier tests soon for this, but I&apos;m not a fan ofwriting C, so this commit starts to fill out the C++ API for componentsby adding a few wrapper classes. Like the rest of the C++ API this isall built as a wrapper around the C API.This commit introduces a `Component` type and an `ExportIndex` type togo along with it. This binds the `component.h` header file in C++. Thisalso starts a convention of `capi` methods to access the underlyingpointer/value as a conventional way to mix the C/C++ APIs which willallow gradually migrating tests to C++.* Fix clippy lint

            List of files:
            /wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh</description>
        <pubDate>Mon, 20 Oct 2025 16:47:31 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>adff9d9d - Fix externref/anyref ownership in C/C++ API (#11799)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh#adff9d9d</link>
        <description>Fix externref/anyref ownership in C/C++ API (#11799)* Fix externref/anyref ownership in C/C++ APIThis commit is a follow-up to #11514 which was discovered throughfailing tests in the wasmtime-py repository when updating to Wasmtime37.0.0. Effectively a combination of bugs in the Rust API meant that itwasn&apos;t possible to use `externref` or `anyref` bindings correctly. TheRust changes in this commit are:* `wasmtime_val_unroot` correctly drops the value now as opposed to  effectively being a noop from before (typo of using `as_externref` vs  `from_externref`).* `wasmtime_{anyref,externref,val}_t` now have a `Drop` implementation  in Rust to correctly drop them if a value in Rust is dropped. This is  required to correctly manage memory in the `wasmtime_func_{call,new}`  implementations, for example.* `wasmtime_{anyref,externref,val}_clone` no longer have an unnecessary  context parameter.* `wasmtime_{anyref,externref,val}_unroot` no longer have an unnecessary  context parameter.Changes in the C/C++ APIs are:* `Result::{ok,err}_ref` APIs were added in addition to the preexisting  rvalue accessors.* Loading/storing typed arguments now has an overload for `const T&amp;` and  `T&amp;&amp;` which behaves differently. Notably transferring ownership for  `T&amp;&amp;` and not for `const T&amp;`. This means that passing parameters when  calling a wasm function uses `const T&amp;`, but passing results from a  host import uses `T&amp;&amp;`.* `TypedFunc::call` now uses `const Params&amp;` instead of `Params` to  explicitly specify it doesn&apos;t modify the parameters and forces using  the `const T&amp;` store method.* `Store::gc` is now a convenience method for `store.context().gc()`* `ExternRef`, `AnyRef`, and `Val` now have ownership semantics and  destructors. This matches the spirit of #11514 for Rust but models it  in C++ as well. This required filling out move/copy  constructors/assignments.* The explicit `ExternRef` now takes `std::any` instead of `T`.* Minor issues related to ownership are fixed in `Val` bindings.Valgrind was used to ensure that there were no leaks for the test suitewhich additionally resulted in a number of `*_delete` calls being addedto tests using the C API (accidental omissions).The original goal of this change was to be a patch release for 37.0.1 toenable updating wasmtime-py to the 37.0.x releases of Wasmtime. In theend though the changes here were broad enough that I no longer feel thatthis is a good idea, so wasmtime-py will be skipping the 37 version ofWasmtime.* Run `clang-format`prtest:full

            List of files:
            /wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh</description>
        <pubDate>Tue, 07 Oct 2025 16:36:13 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>a045eaa9 - Run `clang-format` over more files (#10689)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh#a045eaa9</link>
        <description>Run `clang-format` over more files (#10689)We were already running it over most `*.c` files and other ones butforgot the `*.hh` and `*.cc` extensions which are being used for C++bindings, so add those in and then run the formatter.

            List of files:
            /wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh</description>
        <pubDate>Mon, 28 Apr 2025 20:38:14 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>453bb9a4 - Split C++ Func/Table/Memory/Global to their own headers (#10688)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh#453bb9a4</link>
        <description>Split C++ Func/Table/Memory/Global to their own headers (#10688)I did my best to separate out headers but I don&apos;t understand enough C++to fully sever `val.hh` and `func.hh` so they sort of circularlyreference each other now.

            List of files:
            /wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh</description>
        <pubDate>Mon, 28 Apr 2025 19:41:13 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>ebc25c84 - Split out some more C++ types to their own headers (#10658)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh#ebc25c84</link>
        <description>Split out some more C++ types to their own headers (#10658)* Move C++ WASI configuration to its own header* Move C++ `Store` to its own fileI tried binding `wasmtime_store_epoch_deadline_callback` in C++ but Idon&apos;t know enough C++ to figure out the syntax for doing so.* Move C++ Val to its own headerAlso bind `AnyRef` while I&apos;m here with some small tests.

            List of files:
            /wasmtime-44.0.1/crates/c-api/include/wasmtime/val.hh</description>
        <pubDate>Wed, 23 Apr 2025 21:07:22 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
</channel>
</rss>
