Merge pull request #4 from metajack/cfdata-public-impl
Make CFData implementation public.
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user