Skip to content

Commit

Permalink
Reduce generated code size
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan committed Oct 10, 2024
1 parent 438a170 commit ec34375
Show file tree
Hide file tree
Showing 3 changed files with 4,902 additions and 10,658 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 22 additions & 3 deletions pkgs/cupertino_http/ffigen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ output:
objc-bindings: 'darwin/cupertino_http/Sources/cupertino_http/native_cupertino_bindings.m'
headers:
entry-points:
- '/System/Volumes/Data/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSArray.h'
- '/System/Volumes/Data/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSData.h'
- '/System/Volumes/Data/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSDictionary.h'
- '/System/Volumes/Data/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSURLCache.h'
- '/System/Volumes/Data/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSURLRequest.h'
- '/System/Volumes/Data/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSURLSession.h'
Expand All @@ -32,10 +29,32 @@ preamble: |
// ignore_for_file: unused_element
// ignore_for_file: unused_field
// ignore_for_file: return_of_invalid_type
objc-interfaces:
include:
- 'NSHTTPURLResponse'
- 'NSMutableURLRequest'
- 'NSOperationQueue'
- 'NSURLCache'
- 'NSURLRequest'
- 'NSURLResponse'
- 'NSURLSession'
- 'NSURLSessionConfiguration'
- 'NSURLSessionDownloadTask'
- 'NSURLSessionTask'
- 'NSURLSessionWebSocketMessage'
- 'NSURLSessionWebSocketTask'
comments:
style: any
length: full
enums:
include:
- 'NSHTTPCookieAcceptPolicy'
- 'NSURLRequestCachePolicy'
- 'NSURLRequestNetworkServiceType'
- 'NSURLSessionMultipathServiceType'
- 'NSURLSessionResponseDisposition'
- 'NSURLSessionTaskState'
- 'NSURLSessionWebSocketMessageType'
as-int:
include:
- 'NSURLSessionWebSocketCloseCode'
Loading

0 comments on commit ec34375

Please sign in to comment.