Open spouliot opened 4 years ago
The ARCH_32 part could also be extended to where it's not currently used:
public static bool SomeOtherFunction (ARFrameSemantics frameSemantics)
{
#if ARCH_32
return global::ObjCRuntime.Messaging.bool_objc_msgSend_int (klass, Selector.GetHandle ("supportsFrameSemantics:"), (int)frameSemantics);
#else
return global::ObjCRuntime.Messaging.bool_objc_msgSend_Int64 (klass, Selector.GetHandle ("supportsFrameSemantics:"), (Int64)frameSemantics);
#endif
}
@rolfbjarne Shouldn’t these just be deleted instead? Are there even any supported 32-bit iOS-family platforms anymore?
@wjk:
Shouldn’t these just be deleted instead? Are there even any supported 32-bit iOS-family platforms anymore?
Yes, there are, we support building for iOS 7+, and 32-bit iOS wasn't removed until iOS 11.
Steps to Reproduce
Expected Behavior
64 bits code should not have checks for
IntPtr.Size == 8
nor any code for 32 bits execution.It's not a bug issue as the linker will remove it - unless it's disabled.
Actual Behavior
Environment
main