Skip to content

Commit

Permalink
Merge pull request #329 from madsmtm/metal
Browse files Browse the repository at this point in the history
Add Metal framework
  • Loading branch information
madsmtm authored Jan 10, 2023
2 parents 59c6f44 + ed493dc commit 70fdd5f
Show file tree
Hide file tree
Showing 20 changed files with 1,400 additions and 105 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ env:
#
# Note: The `exception` feature is not enabled here, since it requires
# compiling C code, even if just running a `check`/`clippy` build.
INTERESTING_FEATURES: malloc,block,verify,uuid
INTERESTING_FEATURES: malloc,block,verify,uuid,unstable-private
UNSTABLE_FEATURES: unstable-autoreleasesafe,unstable-c-unwind
# Required when we want to use a different runtime than the default `apple`
OTHER_RUNTIME: --no-default-features --features=std
Expand Down
2 changes: 2 additions & 0 deletions crates/header-translator/framework-includes.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
#endif

#import <AuthenticationServices/AuthenticationServices.h>

#import <Metal/Metal.h>
4 changes: 4 additions & 0 deletions crates/header-translator/src/data/CoreAnimation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,4 +230,8 @@ data! {
unsafe fn CATransform3DMakeAffineTransform;
unsafe fn CATransform3DIsAffine;
unsafe fn CATransform3DGetAffineTransform;

class CAMetalLayer {
// TODO
}
}
Loading

0 comments on commit 70fdd5f

Please sign in to comment.