Commit Graph

18 Commits

Author SHA1 Message Date
Brian J. Burg 04c0856f7d Implement AbstractCFType::type_id(). Switch to use CFTypeRef::downcast(). 2012-11-16 14:29:57 -08:00
Brian J. Burg 8af8ef0d6d Rewrite the Core Foundation wrapper system. 2012-11-16 11:03:26 -08:00
Brian J. Burg 7fcbf5112e Add binding for CFStringCreateWithBytes. 2012-11-12 19:22:20 -08:00
Brian J. Burg 3e5e34f4f4 Add support for getting floats out of CFNumber; add conversions from CFType to some other wrapper type; add AbstractCFType::type_id() 2012-11-09 15:01:34 -08:00
Brian J. Burg 22ff767266 Implement ToStr for CFString; fix off-by-one error in CFString::new_static; make clean now removes test binary. 2012-11-07 19:47:22 -08:00
Brian J. Burg a7eade7fc2 Add bindings for CFGetTypeID, CFHash, CFStringGetTypeID 2012-11-07 17:39:29 -08:00
Brian J. Burg f679a48102 Add all the CFString constants and enums. 2012-11-07 17:32:48 -08:00
Brian J. Burg 7f6dad8dd4 Add ALL the CFString function headers\!11 2012-11-07 16:11:42 -08:00
Brian J. Burg fde0ba88ec Change AbstractCFType::as_type_ref() to use get_ref(), and add AbstractCFTypeRef::as_CFTypeRef(). 2012-11-02 18:41:33 -07:00
Brian J. Burg 37ea78bb34 Clean up CFString; add borrow_ref experiment. 2012-11-02 17:21:41 -07:00
Brian J. Burg 13a2ef813a Rework base CF bindings, and add simple bindings for CFArray, CFURL, CFData. 2012-11-01 19:41:35 -07:00
Brian J. Burg a3ab85e4c2 Add UniChar typedef. 2012-10-19 18:12:03 -07:00
Patrick Walton 6ef2001b3c Update to newest Rust 2012-10-18 17:03:47 -07:00
Patrick Walton 007b583183 Update for new exports 2012-09-27 10:49:03 -07:00
Patrick Walton be4e26b2c7 Update for standard library changes 2012-09-20 10:02:03 -07:00
Brian J. Burg 94c7437779 Fix upstream build breaks by changing uses of reinterpret_cast to pass by reference. 2012-09-04 18:08:59 -07:00
Patrick Walton 4d402a7937 Add booleans and refactor to support existential types.
This allows dictionaries to contain values of multiple CFTypes, while remaining
type-safe.
2012-08-30 18:43:43 -07:00
Patrick Walton 0225d54195 Initial commit 2012-08-30 17:41:23 -07:00