Skip to content

Commit cf25b7d

Browse files
authored
Auto merge of #598 - jrmuizel:fix-url, r=mstange
Reexpose CFURL[Start|Stop]AccessingSecurityScopedResource This fixes a semver breakage.
2 parents eb00ada + c9eac59 commit cf25b7d

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)