@MarshalsPointer public static long toNative(List<NSStreamSOCKSProxyVersion> l, long flags) { if (l == null) { return 0L; } NSArray<NSString> array = new NSMutableArray<>(); for (NSStreamSOCKSProxyVersion o : l) { array.add(o.value()); } return NSObject.Marshaler.toNative(array, flags); }
@MarshalsPointer public static long toNative(List<CAEmitterMode> l, long flags) { if (l == null) { return 0L; } NSArray<NSString> array = new NSMutableArray<>(); for (CAEmitterMode o : l) { array.add(o.value()); } return NSObject.Marshaler.toNative(array, flags); }
@MarshalsPointer public static long toNative(List<UITextInputTextStyle> l, long flags) { if (l == null) { return 0L; } NSArray<NSDictionary> array = new NSMutableArray<>(); for (UITextInputTextStyle i : l) { array.add(i.getDictionary()); } return NSObject.Marshaler.toNative(array, flags); }
@MarshalsPointer public static long toNative(List<NSURLProtectionSpaceProxyType> l, long flags) { if (l == null) { return 0L; } NSArray<NSString> array = new NSMutableArray<>(); for (NSURLProtectionSpaceProxyType o : l) { array.add(o.value()); } return NSObject.Marshaler.toNative(array, flags); }
@MarshalsPointer public static long toNative(List<NSFileSystemAttributes> l, long flags) { if (l == null) { return 0L; } NSArray<NSDictionary> array = new NSMutableArray<>(); for (NSFileSystemAttributes i : l) { array.add(i.getDictionary()); } return NSObject.Marshaler.toNative(array, flags); }