Closed Bug 1484386 Opened 6 years ago Closed 6 years ago

Move various memory-allocation-related functions into js/public/MemoryFunctions.h

Categories

(Core :: JavaScript Engine, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: Waldo, Assigned: Waldo)

References

Details

Attachments

(1 file)

      No description provided.
Attached patch PatchSplinter Review
There are a bunch more functions along these lines in js/public/Utility.h that could/should be moved into this header.  But for now, this is roughly the minimal change I need to be able to have JSAutoByteString not require jsapi.h (to access JS_free only, basically).
Attachment #9002155 - Flags: review?(jdemooij)
Attachment #9002155 - Flags: review?(jdemooij) → review+
Priority: -- → P2
Pushed by jwalden@mit.edu:
https://hg.mozilla.org/integration/mozilla-inbound/rev/cd604eaf3301
Move various memory-allocation-related functions into js/public/MemoryFunctions.h to (ultimately) minimize dependencies required to use these functions in forthcoming public headers.  r=jandem
https://hg.mozilla.org/mozilla-central/rev/cd604eaf3301
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: