Skip to content

Incorrect function parameters for CFCalendarGetIdentifier #685

@ashu26jha

Description

@ashu26jha

According to Apple documentation CFCalendarGetIdentifier must take a CFCalendarRef as an input parameter and return the calendar's identifier.

But according core-foundation-sys, the docs states:

pub unsafe extern "C" fn CFCalendarGetIdentifier(
    identifier: CFCalendarIdentifier
) -> CFCalendarIdentifier

Please have a look, I checked in the repo

Also this mismatch can also be found for: CFCalendarCopyLocale which should should take CFCalendarCopyLocale instead of CFCalendarIdentifier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions