-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RGen] Teach bgen to ignore bgen types.
Teach bgen to ignore the types that have been marked by the BindingTypeAttribute.
- Loading branch information
1 parent
0f35909
commit 7a90a3f
Showing
4 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#pragma warning disable APL0003 | ||
using System; | ||
using System.Runtime.Versioning; | ||
|
||
using Foundation; | ||
using ObjCRuntime; | ||
using ObjCBindings; | ||
|
||
#nullable enable | ||
|
||
namespace AVFoundation { | ||
|
||
[BindingTypeAttribute] | ||
[SupportedOSPlatform ("ios17.0")] | ||
[SupportedOSPlatform ("tvos17.0")] | ||
[SupportedOSPlatform ("maccatalyst17.0")] | ||
[SupportedOSPlatform ("macos14.0")] | ||
public enum AVCaptureReactionType { | ||
[Field ("AVCaptureReactionTypeThumbsUp")] | ||
ThumbsUp, | ||
|
||
[Field ("AVCaptureReactionTypeThumbsDown")] | ||
ThumbsDown, | ||
|
||
[Field ("AVCaptureReactionTypeBalloons")] | ||
Balloons, | ||
|
||
[Field ("AVCaptureReactionTypeHeart")] | ||
Heart, | ||
|
||
[Field ("AVCaptureReactionTypeFireworks")] | ||
Fireworks, | ||
|
||
[Field ("AVCaptureReactionTypeRain")] | ||
Rain, | ||
|
||
[Field ("AVCaptureReactionTypeConfetti")] | ||
Confetti, | ||
|
||
[Field ("AVCaptureReactionTypeLasers")] | ||
Lasers, | ||
} | ||
} | ||
#pragma warning restore APL0003 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters