Skip to content

Commit

Permalink
Update to wit-abi-up-to-date@v19.
Browse files Browse the repository at this point in the history
Update to WebAssembly/wit-abi-up-to-date@v19.
  • Loading branch information
sunfishcode committed Mar 18, 2024
1 parent 2cc7a0f commit f9933f3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: WebAssembly/wit-abi-up-to-date@v17
- uses: WebAssembly/wit-abi-up-to-date@v19
34 changes: 23 additions & 11 deletions imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,35 @@
</ul>
</li>
</ul>
<h2><a name="wasi:example_api_package_example_dep_interface">Import interface wasi:example-api-package/example-dep-interface</a></h2>
<h2><a name="wasi:example_api_package_example_dep_interface"></a>Import interface wasi:example-api-package/example-dep-interface</h2>
<hr />
<h3>Types</h3>
<h4><a name="example_dep_type"><code>type example-dep-type</code></a></h4>
<h4><a name="example_dep_type"></a><code>type example-dep-type</code></h4>
<p><code>u32</code></p>
<p>
## <a name="wasi:example_package_example_interface">Import interface wasi:example-package/example-interface</a>
## <a name="wasi:example_package_example_interface"></a>Import interface wasi:example-package/example-interface
<p>Instructions for filling in this file:</p>
<ul>
<li>
<p>Delete all these <code>//</code> comments, up to the first <code>///</code> comment.</p>
</li>
<li>
<p>Replace the remaining contents below with <a href="https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md">Wit</a> code describing
<code>interface</code>s and/or <code>world</code>s, using the same formatting style.</p>
</li>
</ul>
<p>If you want to include examples of the API in use, these should be in the
README.md at the root of the repository and linked to from this file.</p>
<p>Short interface description.</p>
<p>Explanation for developers using the interface API. It should include an
overview of the API as a whole as well as call out notable items in it,
for example <a href="#example_api_type"><code>example-api-type</code></a> and <a href="#example_api_function"><code>example-api-function</code></a>.</p>
<hr />
<h3>Types</h3>
<h4><a name="example_dep_type"><code>type example-dep-type</code></a></h4>
<h4><a name="example_dep_type"></a><code>type example-dep-type</code></h4>
<p><a href="#example_dep_type"><a href="#example_dep_type"><code>example-dep-type</code></a></a></p>
<p>
#### <a name="example_api_type">`record example-api-type`</a>
#### <a name="example_api_type"></a>`record example-api-type`
<p>Short type description</p>
<p>Explanation for developers using this type. It may be useful to give
some examples of places in the API where the type is used, such as in
Expand All @@ -38,17 +50,17 @@ of precise behavior here.
<h5>Record Fields</h5>
<ul>
<li>
<p><a name="example_api_type.field0"><code>field0</code></a>: <code>u64</code></p>
<p><a name="example_api_type.field0"></a><code>field0</code>: <code>u64</code></p>
<p>A description of a field.
</li>
<li>
<p><a name="example_api_type.field1"><code>field1</code></a>: <code>string</code></p>
<p><a name="example_api_type.field1"></a><code>field1</code>: <code>string</code></p>
<p>A description of another field.
</li>
</ul>
<hr />
<h3>Functions</h3>
<h4><a name="example_api_function"><code>example-api-function: func</code></a></h4>
<h4><a name="example_api_function"></a><code>example-api-function: func</code></h4>
<p>Short function description</p>
<p>Explanation for developers using the API. This should describe the
arguments which in this function are <code>arg0</code>, <code>arg1</code>, and <code>arg2</code>, and the
Expand All @@ -62,9 +74,9 @@ later call, for example.
</details>
<h5>Params</h5>
<ul>
<li><a name="example_api_function.arg0"><code>arg0</code></a>: <a href="#example_api_type"><a href="#example_api_type"><code>example-api-type</code></a></a></li>
<li><a name="example_api_function.arg1"><code>arg1</code></a>: <code>string</code></li>
<li><a name="example_api_function.arg2"><code>arg2</code></a>: <a href="#example_dep_type"><a href="#example_dep_type"><code>example-dep-type</code></a></a></li>
<li><a name="example_api_function.arg0"></a><code>arg0</code>: <a href="#example_api_type"><a href="#example_api_type"><code>example-api-type</code></a></a></li>
<li><a name="example_api_function.arg1"></a><code>arg1</code>: <code>string</code></li>
<li><a name="example_api_function.arg2"></a><code>arg2</code>: <a href="#example_dep_type"><a href="#example_dep_type"><code>example-dep-type</code></a></a></li>
</ul>
<h5>Return values</h5>
<ul>
Expand Down

0 comments on commit f9933f3

Please # to comment.