< prev index next >
src/java.base/share/native/libjli/splashscreen_stubs.c
Print this page
*** 31,41 ****
/*
* Prototypes of pointers to functions in splashscreen shared lib
*/
typedef int (*SplashLoadMemory_t)(void* pdata, int size);
typedef int (*SplashLoadFile_t)(const char* filename);
! typedef void (*SplashInit_t)(void);
typedef void (*SplashClose_t)(void);
typedef void (*SplashSetFileJarName_t)(const char* fileName,
const char* jarName);
typedef void (*SplashSetScaleFactor_t)(float scaleFactor);
typedef jboolean (*SplashGetScaledImageName_t)(const char* fileName,
--- 31,41 ----
/*
* Prototypes of pointers to functions in splashscreen shared lib
*/
typedef int (*SplashLoadMemory_t)(void* pdata, int size);
typedef int (*SplashLoadFile_t)(const char* filename);
! typedef int (*SplashInit_t)(void);
typedef void (*SplashClose_t)(void);
typedef void (*SplashSetFileJarName_t)(const char* fileName,
const char* jarName);
typedef void (*SplashSetScaleFactor_t)(float scaleFactor);
typedef jboolean (*SplashGetScaledImageName_t)(const char* fileName,
*** 69,80 ****
int DoSplashLoadFile(const char* filename) {
INVOKE(SplashLoadFile, 0)(filename);
}
! void DoSplashInit(void) {
! INVOKEV(SplashInit)();
}
void DoSplashClose(void) {
INVOKEV(SplashClose)();
}
--- 69,80 ----
int DoSplashLoadFile(const char* filename) {
INVOKE(SplashLoadFile, 0)(filename);
}
! int DoSplashInit(void) {
! INVOKE(SplashInit, 0)();
}
void DoSplashClose(void) {
INVOKEV(SplashClose)();
}
< prev index next >