Add __CFRunLoopSetOptionsReason stub

This commit is contained in:
Lubos Dolezel 2020-02-15 14:02:25 +01:00
parent a768dce86a
commit 680f22ecba
2 changed files with 10 additions and 0 deletions

View File

@ -3631,6 +3631,10 @@ void CFRunLoopObserverGetContext(CFRunLoopObserverRef rlo, CFRunLoopObserverCont
*context = rlo->_context;
}
void __CFRunLoopSetOptionsReason(int opts, CFStringRef reason)
{
}
#pragma mark -
#pragma mark CFRunLoopTimer

View File

@ -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