Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created October 14, 2022 18:39
Show Gist options
  • Save vs-mobiletools-engineering-service2/76679a408dde71c3e24855cea6e7ddc2 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/76679a408dde71c3e24855cea6e7ddc2 to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
diff --git a/old/dotnet/projects/MacCatalyst/MacCatalyst.csproj b/new/dotnet/projects/MacCatalyst/MacCatalyst.csproj
index ec0e981..58ef3e2 100644
--- a/old/dotnet/projects/MacCatalyst/MacCatalyst.csproj
+++ b/new/dotnet/projects/MacCatalyst/MacCatalyst.csproj
@@ -726,6 +726,7 @@
<Compile Include="../../../../NaturalLanguage/NLTagger.cs" Link="sources/NaturalLanguage/NLTagger.cs"/>
<Compile Include="../../../../NaturalLanguage/NLVectorDictionary.cs" Link="sources/NaturalLanguage/NLVectorDictionary.cs"/>
<Compile Include="../../../../NearbyInteraction/NIAlgorithmConvergenceStatusReasonValues.cs" Link="sources/NearbyInteraction/NIAlgorithmConvergenceStatusReasonValues.cs"/>
+ <Compile Include="../../../../NearbyInteraction/NICompat.cs" Link="sources/NearbyInteraction/NICompat.cs"/>
<Compile Include="../../../../NearbyInteraction/NINearbyObject.cs" Link="sources/NearbyInteraction/NINearbyObject.cs"/>
<Compile Include="../../../../Network/NWAdvertiseDescriptor.cs" Link="sources/Network/NWAdvertiseDescriptor.cs"/>
<Compile Include="../../../../Network/NWBrowseResult.cs" Link="sources/Network/NWBrowseResult.cs"/>
diff --git a/old/dotnet/projects/iOS/iOS.csproj b/new/dotnet/projects/iOS/iOS.csproj
index 83aa440..226fa65 100644
--- a/old/dotnet/projects/iOS/iOS.csproj
+++ b/new/dotnet/projects/iOS/iOS.csproj
@@ -671,6 +671,7 @@
<Compile Include="../../../../NaturalLanguage/NLTagger.cs" Link="sources/NaturalLanguage/NLTagger.cs"/>
<Compile Include="../../../../NaturalLanguage/NLVectorDictionary.cs" Link="sources/NaturalLanguage/NLVectorDictionary.cs"/>
<Compile Include="../../../../NearbyInteraction/NIAlgorithmConvergenceStatusReasonValues.cs" Link="sources/NearbyInteraction/NIAlgorithmConvergenceStatusReasonValues.cs"/>
+ <Compile Include="../../../../NearbyInteraction/NICompat.cs" Link="sources/NearbyInteraction/NICompat.cs"/>
<Compile Include="../../../../NearbyInteraction/NINearbyObject.cs" Link="sources/NearbyInteraction/NINearbyObject.cs"/>
<Compile Include="../../../../Network/NWAdvertiseDescriptor.cs" Link="sources/Network/NWAdvertiseDescriptor.cs"/>
<Compile Include="../../../../Network/NWBrowseResult.cs" Link="sources/Network/NWBrowseResult.cs"/>
diff --git a/old/dotnet/projects/macOS/macOS.csproj b/new/dotnet/projects/macOS/macOS.csproj
index ef02df6..7320646 100644
--- a/old/dotnet/projects/macOS/macOS.csproj
+++ b/new/dotnet/projects/macOS/macOS.csproj
@@ -715,6 +715,7 @@
<Compile Include="../../../../NaturalLanguage/NLTagger.cs" Link="sources/NaturalLanguage/NLTagger.cs"/>
<Compile Include="../../../../NaturalLanguage/NLVectorDictionary.cs" Link="sources/NaturalLanguage/NLVectorDictionary.cs"/>
<Compile Include="../../../../NearbyInteraction/NIAlgorithmConvergenceStatusReasonValues.cs" Link="sources/NearbyInteraction/NIAlgorithmConvergenceStatusReasonValues.cs"/>
+ <Compile Include="../../../../NearbyInteraction/NICompat.cs" Link="sources/NearbyInteraction/NICompat.cs"/>
<Compile Include="../../../../NearbyInteraction/NINearbyObject.cs" Link="sources/NearbyInteraction/NINearbyObject.cs"/>
<Compile Include="../../../../Network/NWAdvertiseDescriptor.cs" Link="sources/Network/NWAdvertiseDescriptor.cs"/>
<Compile Include="../../../../Network/NWBrowseResult.cs" Link="sources/Network/NWBrowseResult.cs"/>
diff --git a/old/ios/native/NearbyInteraction/NISession.g.cs b/new/ios/native/NearbyInteraction/NISession.g.cs
index 8d081a5..47df03f 100644
--- a/old/ios/native/NearbyInteraction/NISession.g.cs
+++ b/new/ios/native/NearbyInteraction/NISession.g.cs
@@ -93,7 +93,7 @@ namespace NearbyInteraction {
}
[Export ("worldTransformForObject:")]
- [Introduced (PlatformName.WatchOS, 9,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Unavailable (PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -172,7 +172,7 @@ namespace NearbyInteraction {
#endif
}
[Export ("setARSession:")]
- [Introduced (PlatformName.WatchOS, 9,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Unavailable (PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/watch/watch/NearbyInteraction/NISession.g.cs b/new/watch/watch/NearbyInteraction/NISession.g.cs
index 817dedd..6c1f5d6 100644
--- a/old/watch/watch/NearbyInteraction/NISession.g.cs
+++ b/new/watch/watch/NearbyInteraction/NISession.g.cs
@@ -64,38 +64,6 @@ namespace NearbyInteraction {
{
}
- [Export ("worldTransformForObject:")]
- [Introduced (PlatformName.WatchOS, 9,0, ObjCRuntime.PlatformArchitecture.All)]
- [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
- [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual global::OpenTK.NMatrix4 GetWorldTransform (NINearbyObject @object)
- {
- var @object__handle__ = @object!.GetNonNullHandle (nameof (@object));
- global::OpenTK.NMatrix4 ret;
- if (IsDirectBinding) {
- if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
- ret = global::ObjCRuntime.Messaging.xamarin_simd__NMatrix4_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("worldTransformForObject:"), @object__handle__);
- } else if (IntPtr.Size == 8) {
- global::ObjCRuntime.Messaging.xamarin_simd__NMatrix4_objc_msgSend_stret_IntPtr (out ret, this.Handle, Selector.GetHandle ("worldTransformForObject:"), @object__handle__);
- } else if (Runtime.Arch == Arch.DEVICE) {
- global::ObjCRuntime.Messaging.xamarin_simd__NMatrix4_objc_msgSend_stret_IntPtr (out ret, this.Handle, Selector.GetHandle ("worldTransformForObject:"), @object__handle__);
- } else {
- global::ObjCRuntime.Messaging.xamarin_simd__NMatrix4_objc_msgSend_stret_IntPtr (out ret, this.Handle, Selector.GetHandle ("worldTransformForObject:"), @object__handle__);
- }
- } else {
- if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
- ret = global::ObjCRuntime.Messaging.xamarin_simd__NMatrix4_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("worldTransformForObject:"), @object__handle__);
- } else if (IntPtr.Size == 8) {
- global::ObjCRuntime.Messaging.xamarin_simd__NMatrix4_objc_msgSendSuper_stret_IntPtr (out ret, this.SuperHandle, Selector.GetHandle ("worldTransformForObject:"), @object__handle__);
- } else if (Runtime.Arch == Arch.DEVICE) {
- global::ObjCRuntime.Messaging.xamarin_simd__NMatrix4_objc_msgSendSuper_stret_IntPtr (out ret, this.SuperHandle, Selector.GetHandle ("worldTransformForObject:"), @object__handle__);
- } else {
- global::ObjCRuntime.Messaging.xamarin_simd__NMatrix4_objc_msgSendSuper_stret_IntPtr (out ret, this.SuperHandle, Selector.GetHandle ("worldTransformForObject:"), @object__handle__);
- }
- }
- return ret!;
- }
[Export ("invalidate")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void Invalidate ()
@@ -127,20 +95,6 @@ namespace NearbyInteraction {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("runWithConfiguration:"), configuration__handle__);
}
}
- [Export ("setARSession:")]
- [Introduced (PlatformName.WatchOS, 9,0, ObjCRuntime.PlatformArchitecture.All)]
- [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
- [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual void SetARSession (NSObject session)
- {
- var session__handle__ = session!.GetNonNullHandle (nameof (session));
- if (IsDirectBinding) {
- global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setARSession:"), session__handle__);
- } else {
- global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setARSession:"), session__handle__);
- }
- }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NIConfiguration? Configuration {
[Export ("configuration", ArgumentSemantic.Copy)]
diff --git a/old/watch/watch/ObjCRuntime/Messaging.g.cs b/new/watch/watch/ObjCRuntime/Messaging.g.cs
index 66689ba..b749448 100644
--- a/old/watch/watch/ObjCRuntime/Messaging.g.cs
+++ b/new/watch/watch/ObjCRuntime/Messaging.g.cs
@@ -2117,14 +2117,6 @@ namespace ObjCRuntime {
public extern static void xamarin_simd__Vector3_objc_msgSend_stret (out global::OpenTK.Vector3 retval, IntPtr receiver, IntPtr selector);
[DllImport ("__Internal", EntryPoint="xamarin_simd__Vector3_objc_msgSendSuper_stret")]
public extern static void xamarin_simd__Vector3_objc_msgSendSuper_stret (out global::OpenTK.Vector3 retval, IntPtr receiver, IntPtr selector);
- [DllImport ("__Internal", EntryPoint="xamarin_simd__NMatrix4_objc_msgSend_IntPtr")]
- public extern static global::OpenTK.NMatrix4 xamarin_simd__NMatrix4_objc_msgSend_IntPtr (IntPtr receiver, IntPtr selector, IntPtr arg1);
- [DllImport ("__Internal", EntryPoint="xamarin_simd__NMatrix4_objc_msgSendSuper_IntPtr")]
- public extern static global::OpenTK.NMatrix4 xamarin_simd__NMatrix4_objc_msgSendSuper_IntPtr (IntPtr receiver, IntPtr selector, IntPtr arg1);
- [DllImport ("__Internal", EntryPoint="xamarin_simd__NMatrix4_objc_msgSend_stret_IntPtr")]
- public extern static void xamarin_simd__NMatrix4_objc_msgSend_stret_IntPtr (out global::OpenTK.NMatrix4 retval, IntPtr receiver, IntPtr selector, IntPtr arg1);
- [DllImport ("__Internal", EntryPoint="xamarin_simd__NMatrix4_objc_msgSendSuper_stret_IntPtr")]
- public extern static void xamarin_simd__NMatrix4_objc_msgSendSuper_stret_IntPtr (out global::OpenTK.NMatrix4 retval, IntPtr receiver, IntPtr selector, IntPtr arg1);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static IntPtr IntPtr_objc_msgSend_nfloat_nfloat_nfloat_Double (IntPtr receiver, IntPtr selector, nfloat arg1, nfloat arg2, nfloat arg3, double arg4);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment