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