Closed Bug 898670 Opened 6 years ago Closed 6 years ago
[binary data] Move Struct
Type Field List access into separate function .
No description provided.
trace() and free() receive a JSObject with no associated JSContext to convert easily to Rooted. Is it acceptable to assume that obj is of the right type in those calls?
Attachment #782271 - Flags: review?(nmatsakis)
Attachment #782271 - Flags: review?(nmatsakis) → review+
Nikhil, it is safe to assume in calls to trace/free that the object you receive is of the appropriate class, yes. Those are not script-accessible functions that can be misapplied to the wrong kind of object.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.