Closed Bug 1497406 Opened Last year Closed Last year

add helper function to set length and copy into nsTArrays of PODs from Rust

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: heycam, Assigned: heycam)

Details

Attachments

(1 file)

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 cmccormack@mozilla.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
https://hg.mozilla.org/mozilla-central/rev/18a3482ffcba
Status: ASSIGNED → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.