Merge pull request #4 from metajack/cfdata-public-impl

Make CFData implementation public.
This commit is contained in:
Josh Matthews
2013-04-02 08:01:24 -07:00
+1 -1
View File
@@ -26,7 +26,7 @@ impl AbstractCFTypeRef for CFDataRef {
type CFData = CFWrapper<CFDataRef, (), ()>; type CFData = CFWrapper<CFDataRef, (), ()>;
impl CFData { pub impl CFData {
fn new_from_buf(buf: &[u8]) -> CFData { fn new_from_buf(buf: &[u8]) -> CFData {
let result; let result;
unsafe { unsafe {