< prev index next >
src/java.desktop/share/native/common/awt/medialib/mlib_ImageCreate.c
Print this page
rev 49542 : 8201226: missing JNIEXPORT / JNICALL at some places in function declarations/implementations
*** 225,235 ****
return image;
}
/***************************************************************/
! mlib_image *mlib_ImageCreateStruct(mlib_type type,
mlib_s32 channels,
mlib_s32 width,
mlib_s32 height,
mlib_s32 stride,
const void *data)
--- 225,235 ----
return image;
}
/***************************************************************/
! JNIEXPORT mlib_image* JNICALL mlib_ImageCreateStruct(mlib_type type,
mlib_s32 channels,
mlib_s32 width,
mlib_s32 height,
mlib_s32 stride,
const void *data)
*** 251,261 ****
return image;
}
/***************************************************************/
! mlib_image *mlib_ImageCreate(mlib_type type,
mlib_s32 channels,
mlib_s32 width,
mlib_s32 height)
{
mlib_image *image;
--- 251,261 ----
return image;
}
/***************************************************************/
! JNIEXPORT mlib_image* JNICALL mlib_ImageCreate(mlib_type type,
mlib_s32 channels,
mlib_s32 width,
mlib_s32 height)
{
mlib_image *image;
*** 350,360 ****
return image;
}
/***************************************************************/
! void mlib_ImageDelete(mlib_image *img)
{
if (img == NULL) return;
if ((img -> flags & MLIB_IMAGE_USERALLOCATED) == 0) {
mlib_free(img -> data);
}
--- 350,360 ----
return image;
}
/***************************************************************/
! JNIEXPORT void JNICALL mlib_ImageDelete(mlib_image *img)
{
if (img == NULL) return;
if ((img -> flags & MLIB_IMAGE_USERALLOCATED) == 0) {
mlib_free(img -> data);
}
< prev index next >