@MarshalsPointer
 public static long toNative(CFURLUbiquitousItemDownloadingStatus o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.value(), flags);
 }
Пример #2
0
 @MarshalsPointer
 public static long toNative(CVBufferAttributes o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.data, flags);
 }
Пример #3
0
 @MarshalsPointer
 public static long toNative(CGImagePropertyGIF o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.value(), flags);
 }
Пример #4
0
 @MarshalsPointer
 public static long toNative(CMImageDescriptionFlavor o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.value(), flags);
 }
Пример #5
0
 @MarshalsPointer
 public static long toNative(CMMetadataKeySpace o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.value(), flags);
 }
Пример #6
0
 @MarshalsPointer
 public static long toNative(List<CVBufferAttributes> l, long flags) {
   if (l == null) {
     return 0L;
   }
   CFArray array = CFMutableArray.create();
   for (CVBufferAttributes i : l) {
     array.add(i.getDictionary());
   }
   return CFType.Marshaler.toNative(array, flags);
 }
Пример #7
0
 @MarshalsPointer
 public static long toNative(List<CGImagePropertyGIF> l, long flags) {
   if (l == null) {
     return 0L;
   }
   CFArray array = CFMutableArray.create();
   for (CGImagePropertyGIF o : l) {
     array.add(o.value());
   }
   return CFType.Marshaler.toNative(array, flags);
 }
 @MarshalsPointer
 public static long toNative(List<CFURLUbiquitousItemDownloadingStatus> l, long flags) {
   if (l == null) {
     return 0L;
   }
   CFArray array = CFMutableArray.create();
   for (CFURLUbiquitousItemDownloadingStatus o : l) {
     array.add(o.value());
   }
   return CFType.Marshaler.toNative(array, flags);
 }
Пример #9
0
 @MarshalsPointer
 public static long toNative(List<CMImageDescriptionFlavor> l, long flags) {
   if (l == null) {
     return 0L;
   }
   CFArray array = CFMutableArray.create();
   for (CMImageDescriptionFlavor o : l) {
     array.add(o.value());
   }
   return CFType.Marshaler.toNative(array, flags);
 }
Пример #10
0
 @MarshalsPointer
 public static long toNative(List<CMMetadataKeySpace> l, long flags) {
   if (l == null) {
     return 0L;
   }
   CFArray array = CFMutableArray.create();
   for (CMMetadataKeySpace o : l) {
     array.add(o.value());
   }
   return CFType.Marshaler.toNative(array, flags);
 }