Skip to content

Add bindings for some <os/*.h> APIs #377

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

Open
ronaldoussoren opened this issue Aug 8, 2021 · 0 comments
Open

Add bindings for some <os/*.h> APIs #377

ronaldoussoren opened this issue Aug 8, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ronaldoussoren
Copy link
Owner

See also #376.

On first glance the follow headers are interesting enough:

  • os/signpost.h
  • os/log.h
  • os/activity.h
  • os/workgroup.h

Current plan is to add a new bindings package ("pyobjc-framework-libos") with one module per header (e.g. "import os_signpost").

A possible problem with a binding to os/log.h, and possibly os/signpost.h, is that the header documents that the format string argument must be a static string (no variable). This at the very least requires some functional tests to make sure that the regular PyObjC binding pattern works.

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

No branches or pull requests

1 participant