< prev index next >
src/java.desktop/share/native/libawt/java2d/SurfaceData.h
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 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
@@ -647,11 +647,12 @@
* of the structure). The structure is allocated and initialized
* and is stored in the SurfaceData java object for later retrieval.
* Subclasses of SurfaceData should call this function instead of allocating
* the memory directly.
*/
-SurfaceDataOps *SurfaceData_InitOps(JNIEnv *env, jobject sData, int opsSize);
+JNIEXPORT SurfaceDataOps * JNICALL
+SurfaceData_InitOps(JNIEnv *env, jobject sData, int opsSize);
/*
* This function invokes the ops-specific disposal function.
* It is a part of the finalizers-free disposal mechanism.
* (see Disposer and DefaultDisposerRecord classes for more information)
< prev index next >