< prev index next >
src/java.desktop/share/native/libawt/awt/image/cvutils/img_globals.h
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1996, 1998, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 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
@@ -29,10 +29,11 @@
*/
#ifndef IMAGE_GLOBALS_H
#define IMAGE_GLOBALS_H
+#include "jni.h"
/* Image Conversion function return codes. */
#define SCALEFAILURE -1
#define SCALENOOP 0
#define SCALESUCCESS 1
@@ -142,11 +143,12 @@
* The function provided for constructing the ordered dithering error
* matrices based on a given quantum (i.e. the amplitude of the maximum
* error values appearing in the matrix which should be the same as the
* distance between adjacent allocated component values in the color cube).
*/
-extern void make_uns_ordered_dither_array(uns_ordered_dither_array oda,
+JNIEXPORT void JNICALL
+make_uns_ordered_dither_array(uns_ordered_dither_array oda,
int quantum);
extern void make_sgn_ordered_dither_array(char* oda, int errmin, int errmax);
/*
* The function provided for calculating the contents of the ImgCMData
< prev index next >