Skip to content

Commit

Permalink
type.h: add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed May 7, 2024
1 parent 0717792 commit 4d26507
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/type.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,13 @@ struct limits {
};

/*
* MEMTYPE_FLAG_xxx is encoded in limits.
*
* https://webassembly.github.io/spec/core/binary/types.html#limits
* https://github.com/WebAssembly/threads/blob/main/proposals/threads/Overview.md#spec-changes
* https://github.com/WebAssembly/memory64/blob/main/proposals/memory64/Overview.md#binary-format
*
* (0x01: has max)
* 0x02: shared (threads proposal)
* 0x04: 64-bit (memory64 proposal)
*/
Expand Down

0 comments on commit 4d26507

Please sign in to comment.