Skip to content

Commit

Permalink
Add WASI doc links for flags and enums
Browse files Browse the repository at this point in the history
  • Loading branch information
electrum committed Oct 2, 2024
1 parent 2600ef3 commit 45fb31a
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wasi/src/main/java/com/dylibso/chicory/wasi/WasiClockId.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.dylibso.chicory.wasi;

/**
* WASI <a href="https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#clockid">clockid</a>
*/
final class WasiClockId {
private WasiClockId() {}

Expand Down
3 changes: 3 additions & 0 deletions wasi/src/main/java/com/dylibso/chicory/wasi/WasiErrno.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.dylibso.chicory.wasi;

/**
* WASI <a href="https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#errno">errno</a>
*/
enum WasiErrno {
ESUCCESS,
E2BIG,
Expand Down
3 changes: 3 additions & 0 deletions wasi/src/main/java/com/dylibso/chicory/wasi/WasiFdFlags.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.dylibso.chicory.wasi;

/**
* WASI <a href="https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#fdflags">fdflags</a>
*/
final class WasiFdFlags {
private WasiFdFlags() {}

Expand Down
3 changes: 3 additions & 0 deletions wasi/src/main/java/com/dylibso/chicory/wasi/WasiFileType.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.dylibso.chicory.wasi;

/**
* WASI <a href="https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#filetype">filetype</a>
*/
enum WasiFileType {
UNKNOWN,
BLOCK_DEVICE,
Expand Down
3 changes: 3 additions & 0 deletions wasi/src/main/java/com/dylibso/chicory/wasi/WasiFstFlags.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.dylibso.chicory.wasi;

/**
* WASI <a href="https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#fstflags">fstflags</a>
*/
final class WasiFstFlags {
private WasiFstFlags() {}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.dylibso.chicory.wasi;

/**
* WASI <a href="https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#lookupflags">lookupflags</a> flags
*/
final class WasiLookupFlags {
private WasiLookupFlags() {}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.dylibso.chicory.wasi;

/**
* WASI <a href="https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#oflags">oflags</a>
*/
final class WasiOpenFlags {
private WasiOpenFlags() {}

Expand Down
3 changes: 3 additions & 0 deletions wasi/src/main/java/com/dylibso/chicory/wasi/WasiRights.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.dylibso.chicory.wasi;

/**
* WASI <a href="https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#rights">rights</a>
*/
final class WasiRights {
private WasiRights() {}

Expand Down
3 changes: 3 additions & 0 deletions wasi/src/main/java/com/dylibso/chicory/wasi/WasiWhence.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.dylibso.chicory.wasi;

/**
* WASI <a href="https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#whence">whence</a>
*/
final class WasiWhence {
private WasiWhence() {}

Expand Down

0 comments on commit 45fb31a

Please sign in to comment.