-
Notifications
You must be signed in to change notification settings - Fork 0
Add C header nullability annotations #6
Copy link
Copy link
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Activity
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Goal
Improve Swift/Objective-C diagnostics for
include/zig_notify.hwithout changing the stable C ABI.Context
The current header is plain C and works for C consumers. Apple interop would benefit from carefully scoped nullability annotations so Swift/ObjC users get clearer import behavior.
Docs: https://transscendsurvival.org/zig-notify/guides/apple-interop/
Scope
include/zig_notify.hfor nullability annotations that do not change ABI.titleandapp_namenon-null in docs unless behavior changes.bodynullable for title-only notifications.Validation
zig build testzig build examplepython3 scripts/gen_docs.py