Closed Bug 1525158 Opened 5 years ago Closed 5 years ago

Rust XPCOM bindings prevent nsresults from being returned via outparam

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: bytesized, Assigned: bytesized)

References

Details

Attachments

(1 file)

I am unable to implement nsIRequest::GetStatus because the type of the outparam is ::nserror::nsresult, when (I believe) it should be *mut ::nserror::nsresult.

Attachment #9041311 - Attachment description: Bug 1525158 - Allow nsresults as outparams → Bug 1525158 - Allow nsresults as outparams r=Myk
Pushed by ksteuber@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/80040669106b
Allow nsresults as outparams r=myk,froydnj
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: