mirror of
https://github.com/darlinghq/darling-corefoundation.git
synced 2024-11-27 05:40:26 +00:00
Add __CFRunLoopSetOptionsReason stub
This commit is contained in:
parent
a768dce86a
commit
680f22ecba
@ -3631,6 +3631,10 @@ void CFRunLoopObserverGetContext(CFRunLoopObserverRef rlo, CFRunLoopObserverCont
|
||||
*context = rlo->_context;
|
||||
}
|
||||
|
||||
void __CFRunLoopSetOptionsReason(int opts, CFStringRef reason)
|
||||
{
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark CFRunLoopTimer
|
||||
|
||||
|
@ -653,6 +653,12 @@ CF_EXPORT CFNotificationCenterRef CFNotificationCenterGetDistributedCenter(void)
|
||||
CF_EXPORT const CFStringRef kCFNumberFormatterUsesCharacterDirection CF_AVAILABLE(10_9, 6_0); // CFBoolean
|
||||
CF_EXPORT const CFStringRef kCFDateFormatterUsesCharacterDirection CF_AVAILABLE(10_9, 6_0); // CFBoolean
|
||||
|
||||
// Related to macOS app nap
|
||||
enum {
|
||||
__CFRunLoopOptionsTakeAssertion,
|
||||
__CFRunLoopOptionsDropAssertion
|
||||
};
|
||||
void __CFRunLoopSetOptionsReason(int opts, CFStringRef reason);
|
||||
|
||||
CF_EXTERN_C_END
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user