Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Add index constructor argument for WebAssembly.Table #64

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

backes
Copy link
Member

@backes backes commented Jun 5, 2024

Similar to WebAssembly.Memory (#39), the WebAssembly.Table constructor also needs an index argument.

This fixes #63.

Similar to WebAssembly.Memory (WebAssembly#39), the WebAssembly.Table constructor
also needs an `index` argument.
@@ -779,10 +779,16 @@ enum TableKind {
// e.g., typed function references, typed GC references
};

enum TableIndexType {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we not merge these into a single IndexType?

@sbc100
Copy link
Member

sbc100 commented Jun 5, 2024

Index types merged.

@sbc100 sbc100 merged commit 23c6751 into WebAssembly:main Jun 5, 2024
5 checks passed
bvisness pushed a commit to bvisness/memory64 that referenced this pull request Aug 1, 2024
Similar to WebAssembly.Memory (WebAssembly#39), the WebAssembly.Table constructor
also needs an `index` argument.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JS API for table64
3 participants