@MarshalsPointer public static long toNative(CVImageBufferAttributes o, long flags) { if (o == null) { return 0L; } return CFType.Marshaler.toNative(o.data, flags); }
@MarshalsPointer public static long toNative(CMFormatDescriptionExtension o, long flags) { if (o == null) { return 0L; } return CFType.Marshaler.toNative(o.data, flags); }
@MarshalsPointer public static long toNative(CMMetadataKeySpace o, long flags) { if (o == null) { return 0L; } return CFType.Marshaler.toNative(o.value(), flags); }
@MarshalsPointer public static long toNative(CTFrameClippingPath o, long flags) { if (o == null) { return 0L; } return CFType.Marshaler.toNative(o.data, flags); }
@MarshalsPointer public static long toNative(CFStreamSocketSecurityLevel o, long flags) { if (o == null) { return 0L; } return CFType.Marshaler.toNative(o.value(), flags); }
@MarshalsPointer public static long toNative(CMMetadataFormatDescriptionMetadataSpecification o, long flags) { if (o == null) { return 0L; } return CFType.Marshaler.toNative(o.data, 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(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); }
@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); }
@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<CVImageBufferAttributes> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (CVImageBufferAttributes i : l) { array.add(i.getDictionary()); } return CFType.Marshaler.toNative(array, flags); }
@MarshalsPointer public static long toNative(List<CFStreamSocketSecurityLevel> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (CFStreamSocketSecurityLevel o : l) { array.add(o.value()); } return CFType.Marshaler.toNative(array, flags); }
@MarshalsPointer public static long toNative(List<CGImageDestinationCopySourceOptions> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (CGImageDestinationCopySourceOptions i : l) { array.add(i.getDictionary()); } return CFType.Marshaler.toNative(array, flags); }
@MarshalsPointer public static long toNative(List<? extends CFType> l, long flags) { if (l == null) { return 0L; } CFArray o = null; if (l instanceof CFArray) { o = (CFArray) l; } else { o = CFArray.create((List<? extends CFType>) l); } return CFType.Marshaler.toNative(o, flags); }