Skip to content

Commit

Permalink
Add missing file CFPluginCOM in CoreFoundation
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Dec 11, 2024
1 parent 62b6b79 commit 898daec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions crates/header-translator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ fn main() -> Result<(), BoxError> {
// Make sure that we pick the IOSurfaceRef that IOSurface defines,
// instead of the one that CoreGraphics defines.
writeln!(&mut includes_file, "#import <IOSurface/IOSurface.h>")?;
// Part of .modulemap
writeln!(&mut includes_file, "#import <CoreFoundation/CFPluginCOM.h>")?;
for lib in config.libraries.values() {
if !platform_config_filter(lib) {
continue;
Expand Down
2 changes: 2 additions & 0 deletions framework-crates/objc2-core-foundation/Cargo.toml

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

2 changes: 1 addition & 1 deletion generated

0 comments on commit 898daec

Please sign in to comment.