Skip to content

data parameter for gio::content_type_guess should be an Option #1133

@euclio

Description

@euclio

According to the documentation, NULL is a valid value for the data parameter of g_content_type_guess. However, the Rust bindings type it as &[u8], making it impossible to pass a null value.

Metadata

Metadata

Assignees

No one assigned

    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