Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect function parameters for CFCalendarGetIdentifier #685

Open
ashu26jha opened this issue Jun 14, 2024 · 0 comments
Open

Incorrect function parameters for CFCalendarGetIdentifier #685

ashu26jha opened this issue Jun 14, 2024 · 0 comments

Comments

@ashu26jha
Copy link

ashu26jha commented Jun 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant