Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created April 13, 2023 14:26
Show Gist options
  • Save vs-mobiletools-engineering-service2/2e1dcd5c62d34895132f7ba6ae1fbc47 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/2e1dcd5c62d34895132f7ba6ae1fbc47 to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
diff --git a/old/dotnet/ios/generated-sources/CoreMidi/MidiCISession.g.cs b/new/dotnet/ios/generated-sources/CoreMidi/MidiCISession.g.cs
index 25d4374..e884dfc 100644
--- a/old/dotnet/ios/generated-sources/CoreMidi/MidiCISession.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreMidi/MidiCISession.g.cs
@@ -178,35 +178,8 @@ namespace CoreMidi {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual MidiCIDeviceIdentification DeviceIdentification {
- [Export ("deviceIdentification")]
get {
- #if ARCH_32
- throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
- #else
- MidiCIDeviceIdentification ret;
- if (IsDirectBinding) {
- if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
- ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend (this.Handle, Selector.GetHandle ("deviceIdentification"));
- } else if (IntPtr.Size == 8) {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend_stret (out ret, this.Handle, Selector.GetHandle ("deviceIdentification"));
- } else if (Runtime.Arch == Arch.DEVICE) {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend_stret (out ret, this.Handle, Selector.GetHandle ("deviceIdentification"));
- } else {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend_stret (out ret, this.Handle, Selector.GetHandle ("deviceIdentification"));
- }
- } else {
- if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
- ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
- } else if (IntPtr.Size == 8) {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper_stret (out ret, this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
- } else if (Runtime.Arch == Arch.DEVICE) {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper_stret (out ret, this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
- } else {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper_stret (out ret, this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
- }
- }
- return ret!;
- #endif
+ return (MidiCIDeviceIdentification) (_DeviceIdentification.ToMidiCIDeviceIdentification ());
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -398,6 +371,39 @@ namespace CoreMidi {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal virtual MidiCIDeviceIdentification_Blittable _DeviceIdentification {
+ [Export ("deviceIdentification")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ MidiCIDeviceIdentification_Blittable ret;
+ if (IsDirectBinding) {
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSend (this.Handle, Selector.GetHandle ("deviceIdentification"));
+ } else if (IntPtr.Size == 8) {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSend (this.Handle, Selector.GetHandle ("deviceIdentification"));
+ } else if (Runtime.Arch == Arch.DEVICE) {
+ global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSend_stret (out ret, this.Handle, Selector.GetHandle ("deviceIdentification"));
+ } else {
+ global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSend_stret (out ret, this.Handle, Selector.GetHandle ("deviceIdentification"));
+ }
+ } else {
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
+ } else if (IntPtr.Size == 8) {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
+ } else if (Runtime.Arch == Arch.DEVICE) {
+ global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSendSuper_stret (out ret, this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
+ } else {
+ global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSendSuper_stret (out ret, this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
+ }
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("macos11.0")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
diff --git a/old/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs b/new/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
index e587f2c..e3dbd74 100644
--- a/old/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
+++ b/new/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
@@ -2161,13 +2161,13 @@ namespace ObjCRuntime {
[return: MarshalAs (UnmanagedType.I1)]
public unsafe extern static bool bool_objc_msgSendSuper_NativeHandle_byte_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, byte arg2, NativeHandle arg3);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification MidiCIDeviceIdentification_objc_msgSend (IntPtr receiver, IntPtr selector);
+ public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification_Blittable MidiCIDeviceIdentification_Blittable_objc_msgSend (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification MidiCIDeviceIdentification_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
+ public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification_Blittable MidiCIDeviceIdentification_Blittable_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend_stret")]
- public unsafe extern static void MidiCIDeviceIdentification_objc_msgSend_stret (out global::CoreMidi.MidiCIDeviceIdentification retval, IntPtr receiver, IntPtr selector);
+ public unsafe extern static void MidiCIDeviceIdentification_Blittable_objc_msgSend_stret (out global::CoreMidi.MidiCIDeviceIdentification_Blittable retval, IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper_stret")]
- public unsafe extern static void MidiCIDeviceIdentification_objc_msgSendSuper_stret (out global::CoreMidi.MidiCIDeviceIdentification retval, IntPtr receiver, IntPtr selector);
+ public unsafe extern static void MidiCIDeviceIdentification_Blittable_objc_msgSendSuper_stret (out global::CoreMidi.MidiCIDeviceIdentification_Blittable retval, IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public unsafe extern static NativeHandle NativeHandle_objc_msgSend_byte (IntPtr receiver, IntPtr selector, byte arg1);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreMidi/MidiCISession.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreMidi/MidiCISession.g.cs
index 82e5be8..e25ac9a 100644
--- a/old/dotnet/maccatalyst/generated-sources/CoreMidi/MidiCISession.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/CoreMidi/MidiCISession.g.cs
@@ -152,23 +152,8 @@ namespace CoreMidi {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual MidiCIDeviceIdentification DeviceIdentification {
- [Export ("deviceIdentification")]
get {
- MidiCIDeviceIdentification ret;
- if (IsDirectBinding) {
- if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
- ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend (this.Handle, Selector.GetHandle ("deviceIdentification"));
- } else {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend_stret (out ret, this.Handle, Selector.GetHandle ("deviceIdentification"));
- }
- } else {
- if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
- ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
- } else {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper_stret (out ret, this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
- }
- }
- return ret!;
+ return (MidiCIDeviceIdentification) (_DeviceIdentification.ToMidiCIDeviceIdentification ());
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -320,6 +305,19 @@ namespace CoreMidi {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal virtual MidiCIDeviceIdentification_Blittable _DeviceIdentification {
+ [Export ("deviceIdentification")]
+ get {
+ MidiCIDeviceIdentification_Blittable ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSend (this.Handle, Selector.GetHandle ("deviceIdentification"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("macos11.0")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
diff --git a/old/dotnet/maccatalyst/generated-sources/ObjCRuntime/Messaging.g.cs b/new/dotnet/maccatalyst/generated-sources/ObjCRuntime/Messaging.g.cs
index c515824..ee4219e 100644
--- a/old/dotnet/maccatalyst/generated-sources/ObjCRuntime/Messaging.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/ObjCRuntime/Messaging.g.cs
@@ -1989,13 +1989,13 @@ namespace ObjCRuntime {
[return: MarshalAs (UnmanagedType.I1)]
public unsafe extern static bool bool_objc_msgSendSuper_NativeHandle_byte_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, byte arg2, NativeHandle arg3);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification MidiCIDeviceIdentification_objc_msgSend (IntPtr receiver, IntPtr selector);
+ public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification_Blittable MidiCIDeviceIdentification_Blittable_objc_msgSend (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification MidiCIDeviceIdentification_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
+ public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification_Blittable MidiCIDeviceIdentification_Blittable_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend_stret")]
- public unsafe extern static void MidiCIDeviceIdentification_objc_msgSend_stret (out global::CoreMidi.MidiCIDeviceIdentification retval, IntPtr receiver, IntPtr selector);
+ public unsafe extern static void MidiCIDeviceIdentification_Blittable_objc_msgSend_stret (out global::CoreMidi.MidiCIDeviceIdentification_Blittable retval, IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper_stret")]
- public unsafe extern static void MidiCIDeviceIdentification_objc_msgSendSuper_stret (out global::CoreMidi.MidiCIDeviceIdentification retval, IntPtr receiver, IntPtr selector);
+ public unsafe extern static void MidiCIDeviceIdentification_Blittable_objc_msgSendSuper_stret (out global::CoreMidi.MidiCIDeviceIdentification_Blittable retval, IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public unsafe extern static NativeHandle NativeHandle_objc_msgSend_byte (IntPtr receiver, IntPtr selector, byte arg1);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
diff --git a/old/dotnet/macos/generated-sources/CoreMidi/MidiCISession.g.cs b/new/dotnet/macos/generated-sources/CoreMidi/MidiCISession.g.cs
index 0a5cc29..217d462 100644
--- a/old/dotnet/macos/generated-sources/CoreMidi/MidiCISession.g.cs
+++ b/new/dotnet/macos/generated-sources/CoreMidi/MidiCISession.g.cs
@@ -198,23 +198,8 @@ namespace CoreMidi {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual MidiCIDeviceIdentification DeviceIdentification {
- [Export ("deviceIdentification")]
get {
- MidiCIDeviceIdentification ret;
- if (IsDirectBinding) {
- if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
- ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend (this.Handle, selDeviceIdentificationHandle);
- } else {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend_stret (out ret, this.Handle, selDeviceIdentificationHandle);
- }
- } else {
- if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
- ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper (this.SuperHandle, selDeviceIdentificationHandle);
- } else {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper_stret (out ret, this.SuperHandle, selDeviceIdentificationHandle);
- }
- }
- return ret!;
+ return (MidiCIDeviceIdentification) (_DeviceIdentification.ToMidiCIDeviceIdentification ());
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -366,6 +351,19 @@ namespace CoreMidi {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal virtual MidiCIDeviceIdentification_Blittable _DeviceIdentification {
+ [Export ("deviceIdentification")]
+ get {
+ MidiCIDeviceIdentification_Blittable ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSend (this.Handle, selDeviceIdentificationHandle);
+ } else {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSendSuper (this.SuperHandle, selDeviceIdentificationHandle);
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("macos11.0")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
diff --git a/old/dotnet/macos/generated-sources/ObjCRuntime/Messaging.g.cs b/new/dotnet/macos/generated-sources/ObjCRuntime/Messaging.g.cs
index f97e7ea..c8879f9 100644
--- a/old/dotnet/macos/generated-sources/ObjCRuntime/Messaging.g.cs
+++ b/new/dotnet/macos/generated-sources/ObjCRuntime/Messaging.g.cs
@@ -3978,13 +3978,13 @@ namespace ObjCRuntime {
[return: MarshalAs (UnmanagedType.I1)]
public unsafe extern static bool bool_objc_msgSendSuper_NativeHandle_byte_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, byte arg2, NativeHandle arg3);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification MidiCIDeviceIdentification_objc_msgSend (IntPtr receiver, IntPtr selector);
+ public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification_Blittable MidiCIDeviceIdentification_Blittable_objc_msgSend (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification MidiCIDeviceIdentification_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
+ public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification_Blittable MidiCIDeviceIdentification_Blittable_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend_stret")]
- public unsafe extern static void MidiCIDeviceIdentification_objc_msgSend_stret (out global::CoreMidi.MidiCIDeviceIdentification retval, IntPtr receiver, IntPtr selector);
+ public unsafe extern static void MidiCIDeviceIdentification_Blittable_objc_msgSend_stret (out global::CoreMidi.MidiCIDeviceIdentification_Blittable retval, IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper_stret")]
- public unsafe extern static void MidiCIDeviceIdentification_objc_msgSendSuper_stret (out global::CoreMidi.MidiCIDeviceIdentification retval, IntPtr receiver, IntPtr selector);
+ public unsafe extern static void MidiCIDeviceIdentification_Blittable_objc_msgSendSuper_stret (out global::CoreMidi.MidiCIDeviceIdentification_Blittable retval, IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public unsafe extern static NativeHandle NativeHandle_objc_msgSend_byte (IntPtr receiver, IntPtr selector, byte arg1);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
diff --git a/old/ios/native/CoreMidi/MidiCISession.g.cs b/new/ios/native/CoreMidi/MidiCISession.g.cs
index ea6d23b..96120d2 100644
--- a/old/ios/native/CoreMidi/MidiCISession.g.cs
+++ b/new/ios/native/CoreMidi/MidiCISession.g.cs
@@ -175,35 +175,8 @@ namespace CoreMidi {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual MidiCIDeviceIdentification DeviceIdentification {
- [Export ("deviceIdentification")]
get {
- #if ARCH_32
- throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
- #else
- MidiCIDeviceIdentification ret;
- if (IsDirectBinding) {
- if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
- ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend (this.Handle, Selector.GetHandle ("deviceIdentification"));
- } else if (IntPtr.Size == 8) {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend_stret (out ret, this.Handle, Selector.GetHandle ("deviceIdentification"));
- } else if (Runtime.Arch == Arch.DEVICE) {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend_stret (out ret, this.Handle, Selector.GetHandle ("deviceIdentification"));
- } else {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend_stret (out ret, this.Handle, Selector.GetHandle ("deviceIdentification"));
- }
- } else {
- if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
- ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
- } else if (IntPtr.Size == 8) {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper_stret (out ret, this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
- } else if (Runtime.Arch == Arch.DEVICE) {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper_stret (out ret, this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
- } else {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper_stret (out ret, this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
- }
- }
- return ret!;
- #endif
+ return (MidiCIDeviceIdentification) (_DeviceIdentification.ToMidiCIDeviceIdentification ());
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -406,6 +379,39 @@ namespace CoreMidi {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal virtual MidiCIDeviceIdentification_Blittable _DeviceIdentification {
+ [Export ("deviceIdentification")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ MidiCIDeviceIdentification_Blittable ret;
+ if (IsDirectBinding) {
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSend (this.Handle, Selector.GetHandle ("deviceIdentification"));
+ } else if (IntPtr.Size == 8) {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSend (this.Handle, Selector.GetHandle ("deviceIdentification"));
+ } else if (Runtime.Arch == Arch.DEVICE) {
+ global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSend_stret (out ret, this.Handle, Selector.GetHandle ("deviceIdentification"));
+ } else {
+ global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSend_stret (out ret, this.Handle, Selector.GetHandle ("deviceIdentification"));
+ }
+ } else {
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
+ } else if (IntPtr.Size == 8) {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
+ } else if (Runtime.Arch == Arch.DEVICE) {
+ global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSendSuper_stret (out ret, this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
+ } else {
+ global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSendSuper_stret (out ret, this.SuperHandle, Selector.GetHandle ("deviceIdentification"));
+ }
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Introduced (PlatformName.MacOSX, 11,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.iOS, 14,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacCatalyst, 14,0, ObjCRuntime.PlatformArchitecture.All)]
diff --git a/old/ios/native/ObjCRuntime/Messaging.g.cs b/new/ios/native/ObjCRuntime/Messaging.g.cs
index a7a1edc..1cb52a2 100644
--- a/old/ios/native/ObjCRuntime/Messaging.g.cs
+++ b/new/ios/native/ObjCRuntime/Messaging.g.cs
@@ -2164,13 +2164,13 @@ namespace ObjCRuntime {
[return: MarshalAs (UnmanagedType.I1)]
public unsafe extern static bool bool_objc_msgSendSuper_IntPtr_byte_IntPtr (IntPtr receiver, IntPtr selector, IntPtr arg1, byte arg2, IntPtr arg3);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification MidiCIDeviceIdentification_objc_msgSend (IntPtr receiver, IntPtr selector);
+ public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification_Blittable MidiCIDeviceIdentification_Blittable_objc_msgSend (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification MidiCIDeviceIdentification_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
+ public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification_Blittable MidiCIDeviceIdentification_Blittable_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend_stret")]
- public unsafe extern static void MidiCIDeviceIdentification_objc_msgSend_stret (out global::CoreMidi.MidiCIDeviceIdentification retval, IntPtr receiver, IntPtr selector);
+ public unsafe extern static void MidiCIDeviceIdentification_Blittable_objc_msgSend_stret (out global::CoreMidi.MidiCIDeviceIdentification_Blittable retval, IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper_stret")]
- public unsafe extern static void MidiCIDeviceIdentification_objc_msgSendSuper_stret (out global::CoreMidi.MidiCIDeviceIdentification retval, IntPtr receiver, IntPtr selector);
+ public unsafe extern static void MidiCIDeviceIdentification_Blittable_objc_msgSendSuper_stret (out global::CoreMidi.MidiCIDeviceIdentification_Blittable retval, IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public unsafe extern static IntPtr IntPtr_objc_msgSend_byte (IntPtr receiver, IntPtr selector, byte arg1);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
diff --git a/old/mac/full/CoreMidi/MidiCISession.g.cs b/new/mac/full/CoreMidi/MidiCISession.g.cs
index ce18886..34d36bb 100644
--- a/old/mac/full/CoreMidi/MidiCISession.g.cs
+++ b/new/mac/full/CoreMidi/MidiCISession.g.cs
@@ -195,23 +195,8 @@ namespace CoreMidi {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual MidiCIDeviceIdentification DeviceIdentification {
- [Export ("deviceIdentification")]
get {
- MidiCIDeviceIdentification ret;
- if (IsDirectBinding) {
- if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
- ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend (this.Handle, selDeviceIdentificationHandle);
- } else {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend_stret (out ret, this.Handle, selDeviceIdentificationHandle);
- }
- } else {
- if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
- ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper (this.SuperHandle, selDeviceIdentificationHandle);
- } else {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper_stret (out ret, this.SuperHandle, selDeviceIdentificationHandle);
- }
- }
- return ret!;
+ return (MidiCIDeviceIdentification) (_DeviceIdentification.ToMidiCIDeviceIdentification ());
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -374,6 +359,19 @@ namespace CoreMidi {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal virtual MidiCIDeviceIdentification_Blittable _DeviceIdentification {
+ [Export ("deviceIdentification")]
+ get {
+ MidiCIDeviceIdentification_Blittable ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSend (this.Handle, selDeviceIdentificationHandle);
+ } else {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSendSuper (this.SuperHandle, selDeviceIdentificationHandle);
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Introduced (PlatformName.MacOSX, 11,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.iOS, 14,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacCatalyst, 14,0, ObjCRuntime.PlatformArchitecture.All)]
diff --git a/old/mac/full/ObjCRuntime/Messaging.g.cs b/new/mac/full/ObjCRuntime/Messaging.g.cs
index 92228be..f112ffe 100644
--- a/old/mac/full/ObjCRuntime/Messaging.g.cs
+++ b/new/mac/full/ObjCRuntime/Messaging.g.cs
@@ -3687,13 +3687,13 @@ namespace ObjCRuntime {
[return: MarshalAs (UnmanagedType.I1)]
public unsafe extern static bool bool_objc_msgSendSuper_IntPtr_byte_IntPtr (IntPtr receiver, IntPtr selector, IntPtr arg1, byte arg2, IntPtr arg3);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification MidiCIDeviceIdentification_objc_msgSend (IntPtr receiver, IntPtr selector);
+ public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification_Blittable MidiCIDeviceIdentification_Blittable_objc_msgSend (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification MidiCIDeviceIdentification_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
+ public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification_Blittable MidiCIDeviceIdentification_Blittable_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend_stret")]
- public unsafe extern static void MidiCIDeviceIdentification_objc_msgSend_stret (out global::CoreMidi.MidiCIDeviceIdentification retval, IntPtr receiver, IntPtr selector);
+ public unsafe extern static void MidiCIDeviceIdentification_Blittable_objc_msgSend_stret (out global::CoreMidi.MidiCIDeviceIdentification_Blittable retval, IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper_stret")]
- public unsafe extern static void MidiCIDeviceIdentification_objc_msgSendSuper_stret (out global::CoreMidi.MidiCIDeviceIdentification retval, IntPtr receiver, IntPtr selector);
+ public unsafe extern static void MidiCIDeviceIdentification_Blittable_objc_msgSendSuper_stret (out global::CoreMidi.MidiCIDeviceIdentification_Blittable retval, IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public unsafe extern static IntPtr IntPtr_objc_msgSend_byte (IntPtr receiver, IntPtr selector, byte arg1);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
diff --git a/old/mac/mobile/CoreMidi/MidiCISession.g.cs b/new/mac/mobile/CoreMidi/MidiCISession.g.cs
index ce18886..34d36bb 100644
--- a/old/mac/mobile/CoreMidi/MidiCISession.g.cs
+++ b/new/mac/mobile/CoreMidi/MidiCISession.g.cs
@@ -195,23 +195,8 @@ namespace CoreMidi {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual MidiCIDeviceIdentification DeviceIdentification {
- [Export ("deviceIdentification")]
get {
- MidiCIDeviceIdentification ret;
- if (IsDirectBinding) {
- if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
- ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend (this.Handle, selDeviceIdentificationHandle);
- } else {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSend_stret (out ret, this.Handle, selDeviceIdentificationHandle);
- }
- } else {
- if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
- ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper (this.SuperHandle, selDeviceIdentificationHandle);
- } else {
- global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_objc_msgSendSuper_stret (out ret, this.SuperHandle, selDeviceIdentificationHandle);
- }
- }
- return ret!;
+ return (MidiCIDeviceIdentification) (_DeviceIdentification.ToMidiCIDeviceIdentification ());
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -374,6 +359,19 @@ namespace CoreMidi {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal virtual MidiCIDeviceIdentification_Blittable _DeviceIdentification {
+ [Export ("deviceIdentification")]
+ get {
+ MidiCIDeviceIdentification_Blittable ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSend (this.Handle, selDeviceIdentificationHandle);
+ } else {
+ ret = global::ObjCRuntime.Messaging.MidiCIDeviceIdentification_Blittable_objc_msgSendSuper (this.SuperHandle, selDeviceIdentificationHandle);
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Introduced (PlatformName.MacOSX, 11,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.iOS, 14,0, ObjCRuntime.PlatformArchitecture.All)]
[Introduced (PlatformName.MacCatalyst, 14,0, ObjCRuntime.PlatformArchitecture.All)]
diff --git a/old/mac/mobile/ObjCRuntime/Messaging.g.cs b/new/mac/mobile/ObjCRuntime/Messaging.g.cs
index 92228be..f112ffe 100644
--- a/old/mac/mobile/ObjCRuntime/Messaging.g.cs
+++ b/new/mac/mobile/ObjCRuntime/Messaging.g.cs
@@ -3687,13 +3687,13 @@ namespace ObjCRuntime {
[return: MarshalAs (UnmanagedType.I1)]
public unsafe extern static bool bool_objc_msgSendSuper_IntPtr_byte_IntPtr (IntPtr receiver, IntPtr selector, IntPtr arg1, byte arg2, IntPtr arg3);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification MidiCIDeviceIdentification_objc_msgSend (IntPtr receiver, IntPtr selector);
+ public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification_Blittable MidiCIDeviceIdentification_Blittable_objc_msgSend (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification MidiCIDeviceIdentification_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
+ public unsafe extern static global::CoreMidi.MidiCIDeviceIdentification_Blittable MidiCIDeviceIdentification_Blittable_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend_stret")]
- public unsafe extern static void MidiCIDeviceIdentification_objc_msgSend_stret (out global::CoreMidi.MidiCIDeviceIdentification retval, IntPtr receiver, IntPtr selector);
+ public unsafe extern static void MidiCIDeviceIdentification_Blittable_objc_msgSend_stret (out global::CoreMidi.MidiCIDeviceIdentification_Blittable retval, IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper_stret")]
- public unsafe extern static void MidiCIDeviceIdentification_objc_msgSendSuper_stret (out global::CoreMidi.MidiCIDeviceIdentification retval, IntPtr receiver, IntPtr selector);
+ public unsafe extern static void MidiCIDeviceIdentification_Blittable_objc_msgSendSuper_stret (out global::CoreMidi.MidiCIDeviceIdentification_Blittable retval, IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public unsafe extern static IntPtr IntPtr_objc_msgSend_byte (IntPtr receiver, IntPtr selector, byte arg1);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment