< prev index next >

modules/javafx.media/src/main/native/gstreamer/3rd_party/libffi/src/java_raw_api.c

Print this page
*** 112,11 ***
        abort();
  
      default:
        *args = raw;
        raw +=
!         ALIGN ((*tp)->size, sizeof(ffi_java_raw)) / sizeof(ffi_java_raw);
      }
      }
  
  #else /* WORDS_BIGENDIAN */
  
--- 112,11 ---
        abort();
  
      default:
        *args = raw;
        raw +=
!         FFI_ALIGN ((*tp)->size, sizeof(ffi_java_raw)) / sizeof(ffi_java_raw);
      }
      }
  
  #else /* WORDS_BIGENDIAN */
  

*** 140,11 ***
        *args = (void*) raw++;
        }
  #else /* FFI_SIZEOF_JAVA_RAW != 8 */
      *args = (void*) raw;
      raw +=
!       ALIGN ((*tp)->size, sizeof(ffi_java_raw)) / sizeof(ffi_java_raw);
  #endif /* FFI_SIZEOF_JAVA_RAW == 8 */
      }
  
  #else
  #error "pdp endian not supported"
--- 140,11 ---
        *args = (void*) raw++;
        }
  #else /* FFI_SIZEOF_JAVA_RAW != 8 */
      *args = (void*) raw;
      raw +=
!       FFI_ALIGN ((*tp)->size, sizeof(ffi_java_raw)) / sizeof(ffi_java_raw);
  #endif /* FFI_SIZEOF_JAVA_RAW == 8 */
      }
  
  #else
  #error "pdp endian not supported"

*** 232,11 ***
  #if FFI_SIZEOF_JAVA_RAW == 8
        FFI_ASSERT(0);    /* Should have covered all cases */
  #else
        memcpy ((void*) raw->data, (void*)*args, (*tp)->size);
        raw +=
!         ALIGN ((*tp)->size, sizeof(ffi_java_raw)) / sizeof(ffi_java_raw);
  #endif
      }
      }
  }
  
--- 232,11 ---
  #if FFI_SIZEOF_JAVA_RAW == 8
        FFI_ASSERT(0);    /* Should have covered all cases */
  #else
        memcpy ((void*) raw->data, (void*)*args, (*tp)->size);
        raw +=
!         FFI_ALIGN ((*tp)->size, sizeof(ffi_java_raw)) / sizeof(ffi_java_raw);
  #endif
      }
      }
  }
  
< prev index next >