Closed Bug 1793882 Opened 2 years ago Closed 2 years ago

NS_NewHashPropertyBag declaration in bag.rs "returns" c_void

Categories

(Core :: SQLite and Embedded Database Bindings, defect)

defect

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file)

No description provided.

A function that "returns" c_void in rust ends up transposed as returning
a bool (i1) at the LLVM-IR level, compared to the definition in C/C++
returning a void at the LLVM-IR level.

Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/c68fc1aafcd1 Don't "return" c_void in NS_NewHashPropertyBag declaration. r=emilio
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
Product: Toolkit → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: