Closed Bug 1497406 Opened Last year Closed Last year
add helper function to set length and copy into ns
TArrays of PODs from Rust
46 bytes, text/x-phabricator-request
|Details | Review|
In Gecko glue code we have a pattern where we call set_len_pod() and then zip an iterator of source values with the destination slots in an nsTArray. It would be nicer to have a helper to do those two things at once.
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/18a3482ffcba Use helper function to set length and copy into nsTArrays of PODs from Rust r=boris
You need to log in before you can comment on or make changes to this bug.