Add printf to stubs in NSAccessibility.m and NSPasteboard.m

This commit is contained in:
Daniel Gretarsson 2023-03-26 13:11:29 +00:00
parent c1b75488c7
commit 6ee777f377
2 changed files with 5 additions and 0 deletions

View File

@ -586,14 +586,17 @@ id NSAccessibilityUnignoredAncestor(id element) {
}
id NSAccessibilityUnignoredDescendant(id element) {
printf("STUB %s\n", __PRETTY_FUNCTION__);
return nil;
}
NSArray *NSAccessibilityUnignoredChildren(NSArray *originalChildren) {
printf("STUB %s\n", __PRETTY_FUNCTION__);
return nil;
}
NSArray *NSAccessibilityUnignoredChildrenForOnlyChild(id originalChild) {
printf("STUB %s\n", __PRETTY_FUNCTION__);
return nil;
}

View File

@ -181,10 +181,12 @@ const NSPasteboardReadingOptionKey
}
- (BOOL) canReadItemWithDataConformingToTypes:(NSArray<NSString *> *) types {
printf("STUB %s\n", __PRETTY_FUNCTION__);
return NO;
}
- (nullable NSArray *)readObjectsForClasses:(NSArray<Class> *)classArray options:(nullable NSDictionary<NSPasteboardReadingOptionKey, id> *) options {
printf("STUB %s\n", __PRETTY_FUNCTION__);
return nil;
}