src/java.desktop/share/native/libawt/java2d/SurfaceData.h
branchihse-remove-mapfiles-branch
changeset 56106 40e61db323c2
parent 47216 71c04702a3d5
child 56721 01b558efd286
equal deleted inserted replaced
56105:749e0ffa206f 56106:40e61db323c2
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   647  * of the structure).  The structure is allocated and initialized
   647  * of the structure).  The structure is allocated and initialized
   648  * and is stored in the SurfaceData java object for later retrieval.
   648  * and is stored in the SurfaceData java object for later retrieval.
   649  * Subclasses of SurfaceData should call this function instead of allocating
   649  * Subclasses of SurfaceData should call this function instead of allocating
   650  * the memory directly.
   650  * the memory directly.
   651  */
   651  */
   652 SurfaceDataOps *SurfaceData_InitOps(JNIEnv *env, jobject sData, int opsSize);
   652 JNIEXPORT SurfaceDataOps *
       
   653 SurfaceData_InitOps(JNIEnv *env, jobject sData, int opsSize);
   653 
   654 
   654 /*
   655 /*
   655  * This function invokes the ops-specific disposal function.
   656  * This function invokes the ops-specific disposal function.
   656  * It is a part of the finalizers-free disposal mechanism.
   657  * It is a part of the finalizers-free disposal mechanism.
   657  * (see Disposer and DefaultDisposerRecord classes for more information)
   658  * (see Disposer and DefaultDisposerRecord classes for more information)