Exemplo n.º 1
0
 @MarshalsPointer
 public static long toNative(List<CVPixelFormatType> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSMutableArray<NSNumber> array = new NSMutableArray<>();
   for (CVPixelFormatType i : l) {
     array.add(NSNumber.valueOf(i.value()));
   }
   return NSObject.Marshaler.toNative(array, flags);
 }