Skip to content

Commit

Permalink
Fix const description in ephemeral (WebAssembly#224)
Browse files Browse the repository at this point in the history
This commit fixes a `dircookie` comment string of its only const
member `start`. Effectively, due to the fact that one semicolon
was missing, the docs were not properly generated.
  • Loading branch information
Jakub Konka authored Feb 18, 2020
1 parent 857e2e2 commit 3f054c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions phases/ephemeral/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ A reference to the offset of a directory entry.

### Consts
- <a href="#dircookie.start" name="dircookie.start"></a> `start`
In an `fd_readdir` call, this value signifies the start of the directory.

## <a href="#dirnamlen" name="dirnamlen"></a> `dirnamlen`: `u32`
The type for the $d_namlen field of $dirent.
Expand Down
2 changes: 1 addition & 1 deletion phases/ephemeral/witx/typenames.witx
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
;;; A reference to the offset of a directory entry.
(typename $dircookie
(int u64
;; In an `fd_readdir` call, this value signifies the start of the directory.
;;; In an `fd_readdir` call, this value signifies the start of the directory.
(const $start 0)
)
)
Expand Down

0 comments on commit 3f054c6

Please sign in to comment.