@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<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<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<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); }