servo / rust-mozjs

DEPRECATED - moved to servo/mozjs instead.
Mozilla Public License 2.0
293 stars 122 forks source link

Add TypedArray API using Heap-wrapped objects #397

Closed Xanewok closed 6 years ago

Xanewok commented 6 years ago

Needed for https://github.com/servo/servo/pull/20267.

This changes TypedArray wrapper type to only contain typed array-related logic and not handle rooting, and introduces 2 different possible storage options for wrapped objects

Since the API changes are breaking, I bumped minor version so that Servo will not break when updating.

r? @jdm


This change is Reviewable

jdm commented 6 years ago

@bors-servo r+ Thanks for working on this!

bors-servo commented 6 years ago

:pushpin: Commit eef813b has been approved by jdm

bors-servo commented 6 years ago

:hourglass: Testing commit eef813b56e87de569e2ec9947b7731d01c90afd6 with merge d2a3ed64efdc6e422d22f9f18fa6253e3f063b58...

bors-servo commented 6 years ago

:sunny: Test successful - status-appveyor, status-travis Approved by: jdm Pushing d2a3ed64efdc6e422d22f9f18fa6253e3f063b58 to master...