@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); }
@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<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<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<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<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); }
@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<CFURLFileProperty> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (CFURLFileProperty i : l) { array.add(i.value()); } return CFType.Marshaler.toNative(array, flags); }
@MarshalsPointer public static long toNative(List<CMImageDescriptionFlavor> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (CMImageDescriptionFlavor i : l) { array.add(i.value()); } return CFType.Marshaler.toNative(array, flags); }