Exemplo n.º 1
0
 @MarshalsPointer
 public static long toNative(NSStreamSOCKSProxyVersion o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
 @MarshalsPointer
 public static long toNative(NSURLProtectionSpaceProxyType o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
Exemplo n.º 3
0
 @MarshalsPointer
 public static long toNative(CAShapeFillRule o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
Exemplo n.º 4
0
 @MarshalsPointer
 public static long toNative(NSNetServiceErrorUserInfo o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
Exemplo n.º 5
0
 @MarshalsPointer
 public static long toNative(UITextInputTextStyle o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
Exemplo n.º 6
0
 @MarshalsPointer
 public static long toNative(CAAnimationRotationMode o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
Exemplo n.º 7
0
 @MarshalsPointer
 public static long toNative(NSFileSystemAttributes o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
Exemplo n.º 8
0
 @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);
 }
Exemplo n.º 9
0
 @MarshalsPointer
 public static long toNative(List<NSNetServiceErrorUserInfo> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSDictionary<NSString, NSObject>> array = new NSMutableArray<>();
   for (NSNetServiceErrorUserInfo i : l) {
     array.add(i.getDictionary());
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
Exemplo n.º 10
0
 @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);
 }
Exemplo n.º 11
0
 @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);
 }
Exemplo n.º 12
0
 @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);
 }
Exemplo n.º 13
0
 @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);
 }