8000 Incorrect function parameters for `CFCalendarGetIdentifier` · Issue #685 · servo/core-foundation-rs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Incorrect function parameters for CFCalendarGetIdentifier #685
Open
@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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0