Commit Graph

14 Commits

Author SHA1 Message Date
Kornel 3570256ecc Avoid UB if the CFData pointer is NULL (#688) 2024-07-14 17:50:44 +00:00
Bruce Mitchener 58972aef0a Update to 2018 edition. (#642)
This is the minimum fix required. It updates to use crate-relative
imports.
2023-10-24 00:30:22 +00:00
Bruce Mitchener 3ff7cc2795 docs: Fix various markdown issues. (#639) 2023-10-10 15:22:46 +00:00
Bruce Mitchener 18df9aafe7 Some clippy fixes. (#624) 2023-08-03 14:20:26 +00:00
micolous b009c87f2d Auto-format code with "cargo fmt" and check in CI (#615)
* add rustfmt check to CI

* Run "cargo fmt" (rustfmt) over core-foundation-rs
2023-07-25 02:22:25 +00:00
Jeff Muizelaar ce17c9aa59 Add CFData::from_arc
This allows creating a zero-copy CFData wrapping existing data.
2021-02-14 11:52:04 -05:00
Linus Färnstrand 224d741ff2 Fix so macros are usable outside of crate 2018-01-21 17:09:43 +01:00
Linus Färnstrand 4fc21d970b Add macro that declare CF types with Drop impl 2018-01-20 16:37:16 +01:00
ratake e3fc4fe3e4 Implement Debug for all types 2017-11-12 17:41:29 -08:00
Tim Neumann d2e91953ee Use full path to mem::transmute in macro 2015-12-17 21:57:29 +01:00
Steven Fackler a3ce1d3ac3 Ensure back-compat 2015-09-05 21:45:52 -07:00
Steven Fackler 80593ffc5d Port data to sys crate 2015-09-05 21:38:42 -07:00
Steven Fackler 3f725f97eb Start splitting out a separate sys package
Moved array and base so far
2015-09-05 21:32:34 -07:00
Steven Fackler 48b341bb4b Move core-foundation to a subdirectory 2015-09-05 21:24:20 -07:00