< prev index next >

src/java.desktop/share/native/common/awt/medialib/mlib_ImageCreate.c

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -225,11 +225,12 @@
 
   return image;
 }
 
 /***************************************************************/
-JNIEXPORT mlib_image* JNICALL mlib_ImageCreateStruct(mlib_type  type,
+JNIEXPORT
+mlib_image* mlib_ImageCreateStruct(mlib_type  type,
                                    mlib_s32   channels,
                                    mlib_s32   width,
                                    mlib_s32   height,
                                    mlib_s32   stride,
                                    const void *data)

@@ -251,11 +252,12 @@
 
   return image;
 }
 
 /***************************************************************/
-JNIEXPORT mlib_image* JNICALL mlib_ImageCreate(mlib_type type,
+JNIEXPORT
+mlib_image* mlib_ImageCreate(mlib_type type,
                              mlib_s32  channels,
                              mlib_s32  width,
                              mlib_s32  height)
 {
   mlib_image *image;

@@ -350,11 +352,12 @@
 
   return image;
 }
 
 /***************************************************************/
-JNIEXPORT void JNICALL mlib_ImageDelete(mlib_image *img)
+JNIEXPORT
+void mlib_ImageDelete(mlib_image *img)
 {
   if (img == NULL) return;
   if ((img -> flags & MLIB_IMAGE_USERALLOCATED) == 0) {
     mlib_free(img -> data);
   }
< prev index next >