<?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 multi.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><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/examples/multi.c#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/examples/multi.c</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>57ba95e9 - Fixed bugs in the C thread example program and updated some comments for build command. (#11155)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/multi.c#57ba95e9</link>
        <description>Fixed bugs in the C thread example program and updated some comments for build command. (#11155)* Remove the cargo command for examples/*.c and fix thread example code.* Add _GNU_SOURCE.

            List of files:
            /wasmtime-44.0.1/examples/multi.c</description>
        <pubDate>Mon, 30 Jun 2025 17:37:35 +0000</pubDate>
        <dc:creator>Masashi Yoshimura &lt;yoshimura.masashi.frbs@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>8f03b22e - Remove wasm-c-api submodule (#8170)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/multi.c#8f03b22e</link>
        <description>Remove wasm-c-api submodule (#8170)* Remove wasm-c-api submoduleThis submodule hasn&apos;t been updated in ~3 years at this point and weadditionally don&apos;t need most of the submodule. Instead add a script tocopy the files we need and verify in CI that the files are up-to-date.This also makes using the C API a bit nicer where you don&apos;t have to havetwo `include` directories with a Wasmtime source tree, just onesuffices.* Don&apos;t format wasm.h{,h} vendored files

            List of files:
            /wasmtime-44.0.1/examples/multi.c</description>
        <pubDate>Mon, 18 Mar 2024 18:58:11 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>f8fee938 - add clang format (#7601)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/multi.c#f8fee938</link>
        <description>add clang format (#7601)* add clang-formatWe chose WebKit style because out of all the builtin styles it seems theclosest to what already exists in wasmtime.Signed-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* c-api: don&apos;t reorder headersThe order here mattersSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* c-api: apply clang-formatSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* fiber: apply clang-formatSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* runtime: apply clang-formatSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* examples: apply clang formatSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* tests: apply clang-formatSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* ci: add clang-format checksSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* clang-format: keep braces on the same lineThis is more the existing styleSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* remove clang-formatJust use the tool defaults (LLVM)Signed-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* Fix ci nameSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* manually reformat a couple of commentsprtest:fullSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* disable formatting for doc-wasm.hSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* manually reformat wasmtime.hSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* disable formattingTo prevent a link from being brokenSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* examples: fixing build commandsSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* fix parameter commentSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;---------Signed-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;

            List of files:
            /wasmtime-44.0.1/examples/multi.c</description>
        <pubDate>Wed, 29 Nov 2023 18:39:04 +0000</pubDate>
        <dc:creator>Tyler Rockwood &lt;rockwotj@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>2ba3025e - Add cmake compatibility to c-api (#4369)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/multi.c#2ba3025e</link>
        <description>Add cmake compatibility to c-api (#4369)* Add cmake compatibility to c-api* Add CMake documentation to wasmtime.h* Add CMake instructions in examples* Modify CI for CMake support* Use correct rust in CI* Trigger build* Refactor run-examples* Reintroduce example_to_run in run-examples* Replace run-examples crate with cmake* Fix markdown formatting in examples readme* Fix cmake test quotes* Build rust wasm before cmake tests* Pass CTEST_OUTPUT_ON_FAILURE* Another cmake test* Handle os differences in cmake test* Fix bugs in memory and multimemory examples

            List of files:
            /wasmtime-44.0.1/examples/multi.c</description>
        <pubDate>Fri, 22 Jul 2022 17:22:36 +0000</pubDate>
        <dc:creator>TheGreatRambler &lt;31906920+TheGreatRambler@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>7a1b7cdf - Implement RFC 11: Redesigning Wasmtime&apos;s APIs (#2897)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/multi.c#7a1b7cdf</link>
        <description>Implement RFC 11: Redesigning Wasmtime&apos;s APIs (#2897)Implement Wasmtime&apos;s new API as designed by RFC 11. This is quite a large commit which has had lots of discussion externally, so for more information it&apos;s best to read the RFC thread and the PR thread.

            List of files:
            /wasmtime-44.0.1/examples/multi.c</description>
        <pubDate>Thu, 03 Jun 2021 14:10:53 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>f94db655 - Update WebAssembly C API submodule to latest commit. (#2579)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/multi.c#f94db655</link>
        <description>Update WebAssembly C API submodule to latest commit. (#2579)* Update WebAssembly C API submodule to latest commit.This commit updates the WebAssembly C API submodule (for `wasm.h`) to thelatest commit out of master.This fixes the behavior of `wasm_name_new_from_string` such that it no longercopies the null character into the name, which caused unexpected failures whenusing the Wasmtime linker as imports wouldn&apos;t resolve when the null waspresent.Along with this change were breaking changes to `wasm_func_call`, the hostcallback signatures, and `wasm_instance_new` to take a vector type instead of apointer to an unsized array.As a result, Wasmtime language bindings based on the C API will need to beupdated once this change is pulled in.Fixes #2211.Fixes #2131.* Update Doxygen comments for wasm.h changes.

            List of files:
            /wasmtime-44.0.1/examples/multi.c</description>
        <pubDate>Thu, 14 Jan 2021 15:36:12 +0000</pubDate>
        <dc:creator>Peter Huene &lt;peter@huene.dev&gt;</dc:creator>
    </item>
<item>
        <title>eb650f6f - filesystem example (#2236)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/multi.c#eb650f6f</link>
        <description>filesystem example (#2236)

            List of files:
            /wasmtime-44.0.1/examples/multi.c</description>
        <pubDate>Tue, 29 Sep 2020 18:20:14 +0000</pubDate>
        <dc:creator>Joshua Warner &lt;joshuawarner32@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>a817470f - Fix signature of wasmtime_module_new</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/multi.c#a817470f</link>
        <description>Fix signature of wasmtime_module_new

            List of files:
            /wasmtime-44.0.1/examples/multi.c</description>
        <pubDate>Wed, 15 Jul 2020 19:07:36 +0000</pubDate>
        <dc:creator>Yury Delendik &lt;ydelendik@mozilla.com&gt;</dc:creator>
    </item>
<item>
        <title>15c68f2c - Disconnects `Store` state fields from `Compiler` (#1761)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/multi.c#15c68f2c</link>
        <description>Disconnects `Store` state fields from `Compiler` (#1761)*  Moves CodeMemory, VMInterrupts and SignatureRegistry from Compiler*  CompiledModule holds CodeMemory and GdbJitImageRegistration*  Store keeps track of its JIT code*  Makes &quot;jit_int.rs&quot; stuff Send+Sync*  Adds the threads example.

            List of files:
            /wasmtime-44.0.1/examples/multi.c</description>
        <pubDate>Tue, 02 Jun 2020 18:44:39 +0000</pubDate>
        <dc:creator>Yury Delendik &lt;ydelendik@mozilla.com&gt;</dc:creator>
    </item>
<item>
        <title>57fb1c69 - Enable the multi-value proposal by default (#1667)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/multi.c#57fb1c69</link>
        <description>Enable the multi-value proposal by default (#1667)This was merged into the wasm spec upstream in WebAssembly/spec#1145, solet&apos;s follow the spec and enable it by default here as well!

            List of files:
            /wasmtime-44.0.1/examples/multi.c</description>
        <pubDate>Wed, 06 May 2020 17:37:29 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>bd374fd6 - Add Wasmtime-specific C API functions to return errors (#1467)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/multi.c#bd374fd6</link>
        <description>Add Wasmtime-specific C API functions to return errors (#1467)* Add Wasmtime-specific C API functions to return errorsThis commit adds new `wasmtime_*` symbols to the C API, many of whichmirror the existing counterparts in the `wasm.h` header. These APIs areenhanced in a number of respects:* Detailed error information is now available through a  `wasmtime_error_t`. Currently this only exposes one function which is  to extract a string version of the error.* There is a distinction now between traps and errors during  instantiation and function calling. Traps only happen if wasm traps,  and errors can happen for things like runtime type errors when  interacting with the API.* APIs have improved safety with respect to embedders where the lengths  of arrays are now taken as explicit parameters rather than assumed  from other parameters.* Handle trap updates* Update C examples* Fix memory.c compile on MSVC* Update test assertions* Refactor C slightly* Bare-bones .NET update* Remove bogus nul handling

            List of files:
            /wasmtime-44.0.1/examples/multi.c</description>
        <pubDate>Mon, 06 Apr 2020 20:13:06 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>f40693d9 - Fix calls to wasmtime_wat2wasm to remove engine argument.</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/multi.c#f40693d9</link>
        <description>Fix calls to wasmtime_wat2wasm to remove engine argument.

            List of files:
            /wasmtime-44.0.1/examples/multi.c</description>
        <pubDate>Thu, 26 Mar 2020 01:55:54 +0000</pubDate>
        <dc:creator>Peter Huene &lt;phuene@mozilla.com&gt;</dc:creator>
    </item>
<item>
        <title>3c51d3ad - Move all examples to a top-level directory (#1286)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/multi.c#3c51d3ad</link>
        <description>Move all examples to a top-level directory (#1286)* Move all examples to a top-level directoryThis commit moves all API examples (Rust and C) to a top-level`examples` directory. This is intended to make it more discoverable andconventional as to where examples are located. Additionally all examplesare now available in both Rust and C to see how to execute the examplein the language you&apos;re familiar with. The intention is that as morelanguages are supported we&apos;d add more languages as examples here too.Each example is also accompanied by either a `*.wat` file which isparsed as input, or a Rust project in a `wasm` folder which is compiledas input.A simple driver crate was also added to `crates/misc` which executes allthe examples on CI, ensuring the C and Rust examples all executesuccessfully.

            List of files:
            /wasmtime-44.0.1/examples/multi.c</description>
        <pubDate>Wed, 11 Mar 2020 20:37:24 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
</channel>
</rss>
