Remove unnecessary root cursor filtering
diff --git a/lib/src/header_parser/includer.dart b/lib/src/header_parser/includer.dart index 4cb1662..415f6d9 100644 --- a/lib/src/header_parser/includer.dart +++ b/lib/src/header_parser/includer.dart
@@ -80,13 +80,6 @@ return false; } - // Objective C has some extra system headers that have a non-empty sourceFile. - if (config.language == Language.objc && - strings.objCInternalDirectories - .any((path) => sourceFile.startsWith(path))) { - return false; - } - // Add header to seen if it's not. if (!bindingsIndex.isSeenHeader(sourceFile)) { bindingsIndex.addHeaderToSeen(
diff --git a/lib/src/strings.dart b/lib/src/strings.dart index 735dc13..755ca74 100644 --- a/lib/src/strings.dart +++ b/lib/src/strings.dart
@@ -44,14 +44,6 @@ const objcBOOL = 'BOOL'; const objcInstanceType = 'instancetype'; -// Internal objective C directories that are automatically pulled in by clang, -// and should be excluded from output (unless explicitly used). -const objCInternalDirectories = [ - '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include', - '/Applications/Xcode.app/Contents/Developer', - '/usr/local/opt/llvm/lib', -]; - const headers = 'headers'; // Sub-fields of headers