Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PHASE] Add suppport for Xcode13 beta 2. #12098

Merged
merged 23 commits into from
Aug 5, 2021
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions runtime/bindings-generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2694,6 +2694,33 @@ static IEnumerable<FunctionData> GetFunctionData ()
}
);

data.Add (
new FunctionData {
Comment = " // IntPtr func (IntPtr, Quaternion)",
Prefix = "simd__",
Variants = Variants.All,
ReturnType = Types.IntPtr,
Parameters = new ParameterData [] {
new ParameterData { TypeData = Types.IntPtr },
new ParameterData { TypeData = Types.QuatF }
},
}
);

data.Add (
new FunctionData {
Comment = " // IntPtr func (IntPtr, Quaternion, IntPtr)",
Prefix = "simd__",
Variants = Variants.All,
ReturnType = Types.IntPtr,
Parameters = new ParameterData [] {
new ParameterData { TypeData = Types.IntPtr },
new ParameterData { TypeData = Types.QuatF },
new ParameterData { TypeData = Types.IntPtr }
},
}
);

// We must expand functions with native types to their actual type as well.
for (int i = data.Count - 1; i >= 0; i--) {
if (!data [i].HasNativeType)
Expand Down
3 changes: 3 additions & 0 deletions src/frameworks.sources
Original file line number Diff line number Diff line change
Expand Up @@ -1984,6 +1984,7 @@ MAC_FRAMEWORKS = \
PassKit \
PdfKit \
PencilKit \
Phase \
Photos \
PhotosUI \
PrintCore \
Expand Down Expand Up @@ -2092,6 +2093,7 @@ IOS_FRAMEWORKS = \
PassKit \
PdfKit \
PencilKit \
Phase \
Photos \
PhotosUI \
PushKit \
Expand Down Expand Up @@ -2259,6 +2261,7 @@ MACCATALYST_FRAMEWORKS = \
PassKit \
PdfKit \
PencilKit \
Phase \
Photos \
PhotosUI \
PushKit \
Expand Down
Loading