src/java.desktop/share/native/common/awt/medialib/mlib_ImageCreate.c
branchihse-remove-mapfiles-branch
changeset 56110 e2bb6d2abb5d
parent 47216 71c04702a3d5
child 56721 01b558efd286
--- a/src/java.desktop/share/native/common/awt/medialib/mlib_ImageCreate.c	Tue Feb 13 12:39:56 2018 +0100
+++ b/src/java.desktop/share/native/common/awt/medialib/mlib_ImageCreate.c	Tue Feb 13 13:02:19 2018 +0100
@@ -1,5 +1,5 @@
 /*
- * 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
@@ -117,6 +117,7 @@
  */
 
 #include <stdlib.h>
+#include "jni.h"
 #include "mlib_image.h"
 #include "mlib_ImageRowTable.h"
 #include "mlib_ImageCreate.h"
@@ -253,6 +254,7 @@
 }
 
 /***************************************************************/
+JNIEXPORT
 mlib_image *mlib_ImageCreate(mlib_type type,
                              mlib_s32  channels,
                              mlib_s32  width,
@@ -352,6 +354,7 @@
 }
 
 /***************************************************************/
+JNIEXPORT
 void mlib_ImageDelete(mlib_image *img)
 {
   if (img == NULL) return;