-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from sunfishcode/main
Update to the latest wit-bindgen.
- Loading branch information
Showing
7 changed files
with
124 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<h1>Import interface <code>proposal-interface-name</code></h1> | ||
<h2>Types</h2> | ||
<h2><a href="#api_type_one" name="api_type_one"></a> <a href="#api_type_one"><code>api-type-one</code></a>: record</h2> | ||
<p>Short description</p> | ||
<p>Explanation for developers using the API.</p> | ||
<p>Size: 16, Alignment: 8</p> | ||
<h3>Record Fields</h3> | ||
<ul> | ||
<li> | ||
<p><a href="api_type_one.property1" name="api_type_one.property1"></a> <a href="#api_type_one.property1"><code>property1</code></a>: <code>u64</code></p> | ||
</li> | ||
<li> | ||
<p><a href="api_type_one.property2" name="api_type_one.property2"></a> <a href="#api_type_one.property2"><code>property2</code></a>: <code>string</code></p> | ||
</li> | ||
</ul> | ||
<h2>Functions</h2> | ||
<hr /> | ||
<h4><a href="#api_function_one" name="api_function_one"></a> <a href="#api_function_one"><code>api-function-one</code></a></h4> | ||
<p>Short description</p> | ||
<p>Explanation for developers using the API.</p> | ||
<h5>Results</h5> | ||
<ul> | ||
<li><a href="#api_function_one.result0" name="api_function_one.result0"></a> <code>result0</code>: <a href="#api_type_one"><a href="#api_type_one"><code>api-type-one</code></a></a></li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,32 @@ | ||
# Types | ||
# Import interface `proposal-interface-name` | ||
|
||
## Types | ||
|
||
## <a href="#api_type_one" name="api_type_one"></a> `api-type-one`: record | ||
|
||
Short description | ||
Explanation for developers using the API. | ||
Short description | ||
|
||
Explanation for developers using the API. | ||
|
||
Size: 16, Alignment: 8 | ||
|
||
### Record Fields | ||
|
||
- <a href="api_type_one.property1" name="api_type_one.property1"></a> [`property1`](#api_type_one.property1): `u64` | ||
|
||
|
||
- <a href="api_type_one.property2" name="api_type_one.property2"></a> [`property2`](#api_type_one.property2): `string` | ||
|
||
|
||
# Functions | ||
## Functions | ||
|
||
---- | ||
|
||
#### <a href="#api_function_one" name="api_function_one"></a> `api-function-one` | ||
|
||
Short description | ||
Explanation for developers using the API. | ||
Short description | ||
|
||
Explanation for developers using the API. | ||
##### Results | ||
|
||
- [`api-type-one`](#api_type_one) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<h1>Import interface <code>proposal-interface-name</code></h1> | ||
<h2>Types</h2> | ||
<h2><a href="#api_type_one" name="api_type_one"></a> <a href="#api_type_one"><code>api-type-one</code></a>: record</h2> | ||
<p>Short description</p> | ||
<p>Explanation for developers using the API.</p> | ||
<p>Size: 16, Alignment: 8</p> | ||
<h3>Record Fields</h3> | ||
<ul> | ||
<li> | ||
<p><a href="api_type_one.property1" name="api_type_one.property1"></a> <a href="#api_type_one.property1"><code>property1</code></a>: <code>u64</code></p> | ||
</li> | ||
<li> | ||
<p><a href="api_type_one.property2" name="api_type_one.property2"></a> <a href="#api_type_one.property2"><code>property2</code></a>: <code>string</code></p> | ||
</li> | ||
</ul> | ||
<h2>Functions</h2> | ||
<hr /> | ||
<h4><a href="#api_function_one" name="api_function_one"></a> <a href="#api_function_one"><code>api-function-one</code></a></h4> | ||
<p>Short description</p> | ||
<p>Explanation for developers using the API.</p> | ||
<h5>Results</h5> | ||
<ul> | ||
<li><a href="#api_function_one.result0" name="api_function_one.result0"></a> <code>result0</code>: <a href="#api_type_one"><a href="#api_type_one"><code>api-type-one</code></a></a></li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Import interface `proposal-interface-name` | ||
|
||
## Types | ||
|
||
## <a href="#api_type_one" name="api_type_one"></a> `api-type-one`: record | ||
|
||
Short description | ||
|
||
Explanation for developers using the API. | ||
|
||
Size: 16, Alignment: 8 | ||
|
||
### Record Fields | ||
|
||
- <a href="api_type_one.property1" name="api_type_one.property1"></a> [`property1`](#api_type_one.property1): `u64` | ||
|
||
|
||
- <a href="api_type_one.property2" name="api_type_one.property2"></a> [`property2`](#api_type_one.property2): `string` | ||
|
||
|
||
## Functions | ||
|
||
---- | ||
|
||
#### <a href="#api_function_one" name="api_function_one"></a> `api-function-one` | ||
|
||
Short description | ||
|
||
Explanation for developers using the API. | ||
##### Results | ||
|
||
- <a href="#api_function_one.result0" name="api_function_one.result0"></a> `result0`: [`api-type-one`](#api_type_one) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
This file contains a world that imports all interfaces in this proposal. Its | ||
primary purpose is to allow unified documentation to be easiy generated for | ||
the whole proposal. | ||
|
||
Proposals should edit replace the import below (and this sentence) with imports | ||
of their own interfaces. | ||
|
||
```wit | ||
default world wasi-proposal-template { | ||
import proposal-interface-name: pkg.proposal-template.proposal-interface-name | ||
} | ||
``` |