diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c index 34ca537b05..6c4ecc273b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c @@ -1029,18 +1029,6 @@ JNIEXPORT jint JNICALL OS_NATIVE(XAnyEvent_1sizeof) } #endif -#ifndef NO_XClientMessageEvent_1sizeof -JNIEXPORT jint JNICALL OS_NATIVE(XClientMessageEvent_1sizeof) - (JNIEnv *env, jclass that) -{ - jint rc = 0; - OS_NATIVE_ENTER(env, that, XClientMessageEvent_1sizeof_FUNC); - rc = (jint)XClientMessageEvent_sizeof(); - OS_NATIVE_EXIT(env, that, XClientMessageEvent_1sizeof_FUNC); - return rc; -} -#endif - #ifndef NO_XCrossingEvent_1sizeof JNIEXPORT jint JNICALL OS_NATIVE(XCrossingEvent_1sizeof) (JNIEnv *env, jclass that) @@ -2107,18 +2095,6 @@ fail: } #endif -#ifndef NO__1XSendEvent -JNIEXPORT jint JNICALL OS_NATIVE(_1XSendEvent) - (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jboolean arg2, jintLong arg3, jintLong arg4) -{ - jint rc = 0; - OS_NATIVE_ENTER(env, that, _1XSendEvent_FUNC); - rc = (jint)XSendEvent((Display *)arg0, (Window)arg1, arg2, arg3, (XEvent *)arg4); - OS_NATIVE_EXIT(env, that, _1XSendEvent_FUNC); - return rc; -} -#endif - #ifndef NO__1XSetErrorHandler JNIEXPORT jintLong JNICALL OS_NATIVE(_1XSetErrorHandler) (JNIEnv *env, jclass that, jintLong arg0) @@ -6955,26 +6931,6 @@ JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1screen_1get_1n_1monitors) } #endif -#ifndef NO__1gdk_1screen_1get_1number -JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1screen_1get_1number) - (JNIEnv *env, jclass that, jintLong arg0) -{ - jint rc = 0; - OS_NATIVE_ENTER(env, that, _1gdk_1screen_1get_1number_FUNC); -/* - rc = (jint)gdk_screen_get_number((GdkScreen *)arg0); -*/ - { - OS_LOAD_FUNCTION(fp, gdk_screen_get_number) - if (fp) { - rc = (jint)((jint (CALLING_CONVENTION*)(GdkScreen *))fp)((GdkScreen *)arg0); - } - } - OS_NATIVE_EXIT(env, that, _1gdk_1screen_1get_1number_FUNC); - return rc; -} -#endif - #ifndef NO__1gdk_1screen_1height JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1screen_1height) (JNIEnv *env, jclass that) @@ -13029,18 +12985,6 @@ fail: } #endif -#ifndef NO__1gtk_1plug_1get_1id -JNIEXPORT jintLong JNICALL OS_NATIVE(_1gtk_1plug_1get_1id) - (JNIEnv *env, jclass that, jintLong arg0) -{ - jintLong rc = 0; - OS_NATIVE_ENTER(env, that, _1gtk_1plug_1get_1id_FUNC); - rc = (jintLong)gtk_plug_get_id((GtkPlug *)arg0); - OS_NATIVE_EXIT(env, that, _1gtk_1plug_1get_1id_FUNC); - return rc; -} -#endif - #ifndef NO__1gtk_1plug_1new JNIEXPORT jintLong JNICALL OS_NATIVE(_1gtk_1plug_1new) (JNIEnv *env, jclass that, jintLong arg0) @@ -21555,30 +21499,6 @@ fail: } #endif -#if (!defined(NO_memmove__ILorg_eclipse_swt_internal_gtk_XClientMessageEvent_2I) && !defined(JNI64)) || (!defined(NO_memmove__JLorg_eclipse_swt_internal_gtk_XClientMessageEvent_2J) && defined(JNI64)) -#ifndef JNI64 -JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_gtk_XClientMessageEvent_2I)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) -#else -JNIEXPORT void JNICALL OS_NATIVE(memmove__JLorg_eclipse_swt_internal_gtk_XClientMessageEvent_2J)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) -#endif -{ - XClientMessageEvent _arg1, *lparg1=NULL; -#ifndef JNI64 - OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_gtk_XClientMessageEvent_2I_FUNC); -#else - OS_NATIVE_ENTER(env, that, memmove__JLorg_eclipse_swt_internal_gtk_XClientMessageEvent_2J_FUNC); -#endif - if (arg1) if ((lparg1 = getXClientMessageEventFields(env, arg1, &_arg1)) == NULL) goto fail; - memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); -fail: -#ifndef JNI64 - OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_gtk_XClientMessageEvent_2I_FUNC); -#else - OS_NATIVE_EXIT(env, that, memmove__JLorg_eclipse_swt_internal_gtk_XClientMessageEvent_2J_FUNC); -#endif -} -#endif - #if (!defined(NO_memmove__ILorg_eclipse_swt_internal_gtk_XExposeEvent_2I) && !defined(JNI64)) || (!defined(NO_memmove__JLorg_eclipse_swt_internal_gtk_XExposeEvent_2J) && defined(JNI64)) #ifndef JNI64 JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_gtk_XExposeEvent_2I)(JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) |