Skip to content

Regression: Bindgen no longer generates nsTArray in function declarations. #1118

@emilio

Description

@emilio

When trying to update bindgen, functions that looked like:

extern "C" {
    pub fn Gecko_GetAnonymousContentForElement(element:
                                                   RawGeckoElementBorrowed)
     -> *mut nsTArray<*mut nsIContent>;
}

Now look like:

extern "C" {
    pub fn Gecko_GetAnonymousContentForElement(element:
                                                   RawGeckoElementBorrowed)
     -> *mut u64;
}

Which means that there was probably a regression in how we detect opaque types and such. Bisecting now.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions