< prev index next >

src/java.base/share/native/libjli/splashscreen_stubs.c

Print this page

        

@@ -31,11 +31,11 @@
 /*
  * 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 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,12 +69,12 @@
 
 int     DoSplashLoadFile(const char* filename) {
     INVOKE(SplashLoadFile, 0)(filename);
 }
 
-void    DoSplashInit(void) {
-    INVOKEV(SplashInit)();
+int     DoSplashInit(void) {
+    INVOKE(SplashInit, 0)();
 }
 
 void    DoSplashClose(void) {
     INVOKEV(SplashClose)();
 }
< prev index next >