Closed
Description
Go through the implementations in the following projects, and grab relevant ideas that objc2-core-foundation
could use:
-
core-foundation
(see also Tracking issue forcore-foundation-rs
issues/PRs #719) -
fruity::core_foundation
-
core-foundationr
-
cidre::cf
A few things I've identified already:
- Mapping of
CFBase
integer types: 5bc094b. -
CFType
PartialEq
,Eq
andHash
impls: de1c9d9. -
CFType
Debug
impl: c76799e. - Forward other types' impls to CFType: 6d82a79.
-
CFString
conversions between&str
: c76799e. - Downcasting using
CFTypeID
s: 3468e00. - CFAllocator things?
-
CFNumber
: 3e0e109. -
PartialOrd
andOrd
: ff0d74c. -
CFData
: 5efb6eb.- Notably
CFData::from_arc
hasn't been carried over (probably for the best though, the implementation seems wrong to only implementdeallocate
?).
- Notably
-
CFUUID
: 933f49c. -
CFError
: 4b630ef. -
CFDate
: 3fe19b2. -
CFDictionary
: 006b2e6 -
CFArray
: 8a2f392 -
CFSet
: Deferred for now. -
CFPropertyList
: Tracked in to Make using property lists easier #735. -
CFURL
: fe40927 - A bunch of things marked safe in 91db974.