sys: propertylist: Add missing functions and consts, sort them
Adds missing functions and constants of CFPropertyList and sorts them in Apple docs order. Some of them are commented out because some types are not implemented yet.
Adds missing functions of CFPropertyList and sorts them in Apple
docs order. Some of them are commented out because some types
are not implemented yet.
sys: uuid: Add missing funcs, add more attrs to a struct
Adds missing functions of CFUUID, derives `Debug` and `PartialEq` attributes to CFUUIDBytes struct. All functions are sorted in Apple docs order.
sys: timezone: Add missing funcs, consts & sorting
Adds missing functions of CFTimeZone, implements CFTimeZoneNameStyle type and consts related to it. Sorts all stuff in Apple docs order.
sys: set: Add missing stuff, implement CFMutableSet
Implements CFMutableSet and a missing const. Sorts all functions in Apple docs order. Replaces pointer placeholders of callbacks with actual function declarations.
sys: messageport: Sort functions, add error codes
Sorts all functions of CFMessagePort in Apple docs order, adds constants of CFMessagePortSendRequest Error Codes.
sys: mach_port: Add missing stuff
Adds missing structures, functions, etc of CFMachPort. All of them are sorted in Apple docs order.
Also I've added missing license at the top of file and removed redundant `pub use` of `base` structures.
CFCharacterSet (sys): Add missing functions & sorting
Adds missing functions and sorts them in Apple docs order. CFMutableCharacterSetRef is a mutable pointer now as it should be, according to CFCharacterSet.h.
CFBundle (sys): Add funcs & consts, sorting
Adds missing functions, types and constants from CFBundle.h. Several inline functions are also rewritten as unsafe Rust functions. All of them are sorted in Apple docs order.
CFData (sys): Add missing functions & sorting
Adds missing functions of CFData and sorts them in Apple docs order. Also missing CFDataSearchFlags type and related consts are added.
Adds missing functions and sorts them in Apple docs order.
CFMutableCharacterSetRef is a mutable pointer now as it should be,
according to CFCharacterSet.h.
Adds missing functions, types and constants from CFBundle.h.
Several inline functions are also rewritten as unsafe Rust functions.
All of them are sorted in Apple docs order.
sys: base: Add new types & funcs
Adds necessary types for upcoming changes. All of them are defined in MacTypes.h and CFBase.h. Several functions were added. Implements new derive attributes.
sys: Add CFLocale
Adds `locale` module (corresponds to CFLocale) to core-foundation-sys. Also there are some additional types added to base.rs that are essential for this module. All functions and consts are categorized according to Apple documentation (https://developer.apple.com/documentation/corefoundation/cflocale?language=objc).
There are several commented out consts because they're available only for later macOS versions (10.10+).
sys: Add CFUserNotification
Adds `CFUserNotification` module into `core-foundation-sys` crate with all its constants and functions (https://developer.apple.com/documentation/corefoundation/cfusernotification?language=objc).
It also contains 3 plain inlined functions rewritten from CFUserNotification.h.
This API is available only on macOS, so an additional cfg flag was added in lib.rs.