servo / rust-mozjs

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

Added Wrapper for JSExternalStringCallbacks #564

Closed Redfire75369 closed 2 years ago

Redfire75369 commented 2 years ago

This enables the creation of JSExternalStringCallbacks from Rust, which in turn also enables the creation of JSExternalString from Rust, which prevents the initial copy to the JS Engine, at the cost of handling the destruction/finalisation manually.

jdm commented 2 years ago

@bors-servo r+

bors-servo commented 2 years ago

:pushpin: Commit c4bfaaa has been approved by jdm

bors-servo commented 2 years ago

:hourglass: Testing commit c4bfaaaf30a052b7f557a659c09ab5b740e032da with merge 992ad491d7b57e64a01f3df94c5f09436d6d271a...

bors-servo commented 2 years ago

:sunny: Test successful - checks-github Approved by: jdm Pushing 992ad491d7b57e64a01f3df94c5f09436d6d271a to master...