@MarshalsPointer
 public static long toNative(CMMetadataFormatDescriptionMetadataSpecification o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.data, flags);
 }
Ejemplo n.º 2
0
 @MarshalsPointer
 public static long toNative(CMMetadataKeySpace o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.value(), flags);
 }
Ejemplo n.º 3
0
 @MarshalsPointer
 public static long toNative(CTFrameClippingPath o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.data, flags);
 }
Ejemplo n.º 4
0
 @MarshalsPointer
 public static long toNative(CMFormatDescriptionExtension o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.data, flags);
 }
Ejemplo n.º 5
0
 @MarshalsPointer
 public static long toNative(CVBufferAttributes o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.data, flags);
 }
 @MarshalsPointer
 public static long toNative(CFStreamSocketSOCKSVersion o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.value(), flags);
 }
Ejemplo n.º 7
0
 @MarshalsPointer
 public static long toNative(CGImagePropertyGIF o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.value(), flags);
 }
 @MarshalsPointer
 public static long toNative(CGImageDestinationCopySourceOptions o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.data, flags);
 }
 @MarshalsPointer
 public static long toNative(CFURLUbiquitousItemDownloadingStatus o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.value(), flags);
 }
Ejemplo n.º 10
0
 @MarshalsPointer
 public static long toNative(CFStringTransform o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.value(), flags);
 }
Ejemplo n.º 11
0
 @MarshalsPointer
 public static long toNative(CMImageDescriptionFlavor o, long flags) {
   if (o == null) {
     return 0L;
   }
   return CFType.Marshaler.toNative(o.value(), flags);
 }
Ejemplo n.º 12
0
 @MarshalsPointer
 public static List<?> toObject(Class<? extends CFType> cls, long handle, long flags) {
   CFArray o = (CFArray) CFType.Marshaler.toObject(cls, handle, flags);
   if (o == null) {
     return null;
   }
   return o.toList(CFBundle.class);
 }
Ejemplo n.º 13
0
 @MarshalsPointer
 public static CFHTTPVersion toObject(Class<CFHTTPVersion> cls, long handle, long flags) {
   CFString o = (CFString) CFType.Marshaler.toObject(CFString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return CFHTTPVersion.valueOf(o);
 }
Ejemplo n.º 14
0
 @MarshalsPointer
 public static CMMetadataKeySpace toObject(
     Class<CMMetadataKeySpace> cls, long handle, long flags) {
   CFString o = (CFString) CFType.Marshaler.toObject(CFString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return CMMetadataKeySpace.valueOf(o);
 }
Ejemplo n.º 15
0
 @MarshalsPointer
 public static CTFrameClippingPath toObject(
     Class<CTFrameClippingPath> cls, long handle, long flags) {
   CFDictionary o = (CFDictionary) CFType.Marshaler.toObject(CFDictionary.class, handle, flags);
   if (o == null) {
     return null;
   }
   return new CTFrameClippingPath(o);
 }
 @MarshalsPointer
 public static CFURLUbiquitousItemDownloadingStatus toObject(
     Class<CFURLUbiquitousItemDownloadingStatus> cls, long handle, long flags) {
   CFString o = (CFString) CFType.Marshaler.toObject(CFString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return CFURLUbiquitousItemDownloadingStatus.valueOf(o);
 }
 @MarshalsPointer
 public static CGImageDestinationCopySourceOptions toObject(
     Class<CGImageDestinationCopySourceOptions> cls, long handle, long flags) {
   CFDictionary o = (CFDictionary) CFType.Marshaler.toObject(CFDictionary.class, handle, flags);
   if (o == null) {
     return null;
   }
   return new CGImageDestinationCopySourceOptions(o);
 }
Ejemplo n.º 18
0
 @MarshalsPointer
 public static CMImageDescriptionFlavor toObject(
     Class<CMImageDescriptionFlavor> cls, long handle, long flags) {
   CFString o = (CFString) CFType.Marshaler.toObject(CFString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return CMImageDescriptionFlavor.valueOf(o);
 }
Ejemplo n.º 19
0
 @MarshalsPointer
 public static CGImagePropertyGIF toObject(
     Class<CGImagePropertyGIF> cls, long handle, long flags) {
   CFString o = (CFString) CFType.Marshaler.toObject(CFString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return CGImagePropertyGIF.valueOf(o);
 }
Ejemplo n.º 20
0
 @MarshalsPointer
 public static CFStreamSocketSecurityLevel toObject(
     Class<CFStreamSocketSecurityLevel> cls, long handle, long flags) {
   CFString o = (CFString) CFType.Marshaler.toObject(CFString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return CFStreamSocketSecurityLevel.valueOf(o);
 }
Ejemplo n.º 21
0
 @MarshalsPointer
 public static CVBufferAttribute toObject(
     Class<CVBufferAttribute> cls, long handle, long flags) {
   CFString o = (CFString) CFType.Marshaler.toObject(CFString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return CVBufferAttribute.valueOf(o);
 }
Ejemplo n.º 22
0
 @MarshalsPointer
 public static CMFormatDescriptionExtension toObject(
     Class<CMFormatDescriptionExtension> cls, long handle, long flags) {
   CFDictionary o = (CFDictionary) CFType.Marshaler.toObject(CFDictionary.class, handle, flags);
   if (o == null) {
     return null;
   }
   return new CMFormatDescriptionExtension(o);
 }
Ejemplo n.º 23
0
 @MarshalsPointer
 public static CVBufferAttributes toObject(
     Class<CVBufferAttributes> cls, long handle, long flags) {
   CFDictionary o = (CFDictionary) CFType.Marshaler.toObject(CFDictionary.class, handle, flags);
   if (o == null) {
     return null;
   }
   return new CVBufferAttributes(o);
 }
Ejemplo n.º 24
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);
 }
Ejemplo n.º 25
0
 @MarshalsPointer
 public static long toNative(List<ABSource> l, long flags) {
   if (l == null) {
     return 0L;
   }
   CFArray array = CFMutableArray.create();
   for (ABSource i : l) {
     array.add(i);
   }
   return CFType.Marshaler.toNative(array, flags);
 }
Ejemplo n.º 26
0
 @MarshalsPointer
 public static long toNative(List<CMFormatDescriptionExtension> l, long flags) {
   if (l == null) {
     return 0L;
   }
   CFArray array = CFMutableArray.create();
   for (CMFormatDescriptionExtension i : l) {
     array.add(i.getDictionary());
   }
   return CFType.Marshaler.toNative(array, flags);
 }
Ejemplo n.º 27
0
 @MarshalsPointer
 public static long toNative(List<CTFrameClippingPath> l, long flags) {
   if (l == null) {
     return 0L;
   }
   CFArray array = CFMutableArray.create();
   for (CTFrameClippingPath i : l) {
     array.add(i.getDictionary());
   }
   return CFType.Marshaler.toNative(array, flags);
 }
 @MarshalsPointer
 public static long toNative(List<CFStreamSocketSOCKSVersion> l, long flags) {
   if (l == null) {
     return 0L;
   }
   CFArray array = CFMutableArray.create();
   for (CFStreamSocketSOCKSVersion i : l) {
     array.add(i.value());
   }
   return CFType.Marshaler.toNative(array, flags);
 }
Ejemplo n.º 29
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);
 }
Ejemplo n.º 30
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);
 }