Skip to content

Commit c9eac59

Browse files
committed
Reexpose CFURL[Start|Stop]AccessingSecurityScopedResource
This fixes a semver breakage caused by #576
1 parent eb00ada commit c9eac59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core-foundation-sys/src/url.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ extern {
314314

315315
pub fn CFURLCreateBookmarkDataFromFile(allocator: CFAllocatorRef, fileURL: CFURLRef, errorRef: *mut CFErrorRef) -> CFDataRef;
316316
pub fn CFURLWriteBookmarkDataToFile(bookmarkRef: CFDataRef, fileURL: CFURLRef, options: CFURLBookmarkFileCreationOptions, errorRef: *mut CFErrorRef) -> Boolean;
317-
// pub fn CFURLStartAccessingSecurityScopedResource(url: CFURLRef) -> Boolean; // ios(8.0)+
318-
// pub fn CFURLStopAccessingSecurityScopedResource(url: CFURLRef); // ios(8.0)+
317+
pub fn CFURLStartAccessingSecurityScopedResource(url: CFURLRef) -> Boolean;
318+
pub fn CFURLStopAccessingSecurityScopedResource(url: CFURLRef);
319319
}
320320

321321
#[test]

0 commit comments

Comments
 (0)