Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Typed array change proposal#1

Merged
j-f1 merged 12 commits into
j-f1:typed-arrayj-f1/forked-JavaScriptKit:typed-arrayfrom
kateinoigakukun:typed-array-change-proposalCopy head branch name to clipboard
Sep 10, 2020
Merged

Typed array change proposal#1
j-f1 merged 12 commits into
j-f1:typed-arrayj-f1/forked-JavaScriptKit:typed-arrayfrom
kateinoigakukun:typed-array-change-proposalCopy head branch name to clipboard

Conversation

@kateinoigakukun

@kateinoigakukun kateinoigakukun commented Sep 9, 2020

Copy link
Copy Markdown

The main change is d64def7

I want to avoid managing reference count manually.

If you accept my proposal, I can immediately merge your PR swiftwasm#31

@j-f1 j-f1 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

One comment, otherwise LGTM

}
}

public init(_ object: JSObject) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Does this need to be pubic? I worry that someone would pass a non-TypedArray in.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I added a failable init instead of this. What do you think about the new one?

@j-f1 j-f1 merged commit 2370a1f into j-f1:typed-array Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.