< prev index next >

src/java.base/share/native/libjimage/jimage.hpp

Print this page
rev 49542 : 8201226: missing JNIEXPORT / JNICALL at some places in function declarations/implementations

*** 124,134 **** * Ex. * jlong size; * JImageLocationRef location = (*JImageFindResource)(image, * "java.base", "9.0", "java/lang/String.class", &size); */ ! extern "C" JNIEXPORT JImageLocationRef JIMAGE_FindResource(JImageFile* jimage, const char* module_name, const char* version, const char* name, jlong* size); typedef JImageLocationRef(*JImageFindResource_t)(JImageFile* jimage, const char* module_name, const char* version, const char* name, --- 124,134 ---- * Ex. * jlong size; * JImageLocationRef location = (*JImageFindResource)(image, * "java.base", "9.0", "java/lang/String.class", &size); */ ! extern "C" JNIEXPORT JImageLocationRef JNICALL JIMAGE_FindResource(JImageFile* jimage, const char* module_name, const char* version, const char* name, jlong* size); typedef JImageLocationRef(*JImageFindResource_t)(JImageFile* jimage, const char* module_name, const char* version, const char* name,
< prev index next >