diff --git a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_JNI.c b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_JNI.c index 5b3fcc62d4..d1b370a402 100644 --- a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_JNI.c +++ b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_JNI.c @@ -21,7 +21,7 @@ JNIEXPORT jbyte JNICALL Java_org_lwjgl_system_JNI_invokePB__BJJ(JNIEnv *__env, j } JNIEXPORT jdouble JNICALL Java_org_lwjgl_system_JNI_invokeD__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jdouble (*) ())(uintptr_t)__functionAddress)(); + return ((jdouble (*) (void))(uintptr_t)__functionAddress)(); } JNIEXPORT jdouble JNICALL Java_org_lwjgl_system_JNI_invokeD__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) @@ -77,7 +77,7 @@ JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_invokePPF__JFJIJ(JNIEnv *__en } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokeI__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) ())(uintptr_t)__functionAddress)(); + return ((jint (*) (void))(uintptr_t)__functionAddress)(); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokeI__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) @@ -325,7 +325,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPPI__JIIJJJJJJJJ(JN } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokeJ__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (*) ())(uintptr_t)__functionAddress)(); + return ((jlong (*) (void))(uintptr_t)__functionAddress)(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePJ__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) @@ -365,7 +365,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePNPNPN__JJIIIIIIIJJJJ(JN } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokeP__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((uintptr_t (*) ())(uintptr_t)__functionAddress)(); + return (jlong)((uintptr_t (*) (void))(uintptr_t)__functionAddress)(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokeP__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) @@ -801,7 +801,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPJJPPPPPPP__JJJJJIJI } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeS__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) ())(uintptr_t)__functionAddress)(); + return ((jshort (*) (void))(uintptr_t)__functionAddress)(); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeS__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) @@ -893,7 +893,7 @@ JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokePJPS__JJBJJ(JNIEnv *__e } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) ())(uintptr_t)__functionAddress)(); + ((void (*) (void))(uintptr_t)__functionAddress)(); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__BJ(JNIEnv *__env, jclass clazz, jbyte param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) @@ -1445,7 +1445,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPV__JJJJJJJJ(JNIEnv } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokeZ__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) ())(uintptr_t)__functionAddress)(); + return ((jboolean (*) (void))(uintptr_t)__functionAddress)(); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokeZ__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) @@ -1525,7 +1525,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePPPPPZ__JJJJJZIJ(JNIE } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_callF__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jfloat (APIENTRY *) ())(uintptr_t)__functionAddress)(); + return ((jfloat (APIENTRY *) (void))(uintptr_t)__functionAddress)(); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_callF__IIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) @@ -1541,7 +1541,7 @@ JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_callPPPF__JJJJ(JNIEnv *__env, } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callI__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) ())(uintptr_t)__functionAddress)(); + return ((jint (APIENTRY *) (void))(uintptr_t)__functionAddress)(); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callI__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) @@ -2301,7 +2301,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPPPPPPPI__JJJJJJJJJJ } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callJ__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (APIENTRY *) ())(uintptr_t)__functionAddress)(); + return ((jlong (APIENTRY *) (void))(uintptr_t)__functionAddress)(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callJ__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) @@ -2345,7 +2345,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPN__JJ(JNIEnv *__env, jcla } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callP__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((uintptr_t (APIENTRY *) ())(uintptr_t)__functionAddress)(); + return (jlong)((uintptr_t (APIENTRY *) (void))(uintptr_t)__functionAddress)(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callP__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) @@ -2709,7 +2709,7 @@ JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPPS__JSJSJJJJJJJJ( } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) ())(uintptr_t)__functionAddress)(); + ((void (APIENTRY *) (void))(uintptr_t)__functionAddress)(); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__BJ(JNIEnv *__env, jclass clazz, jbyte param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) @@ -3757,7 +3757,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJJJJJJJJJJV__JJJJJJJJJJJJ } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callZ__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) ())(uintptr_t)__functionAddress)(); + return ((jboolean (APIENTRY *) (void))(uintptr_t)__functionAddress)(); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callZ__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz)