summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI
diff options
context:
space:
mode:
authorBilly Biggs <bbiggs>2005-07-13 02:31:17 +0000
committerBilly Biggs <bbiggs>2005-07-13 02:31:17 +0000
commit51221844d079d6d657c0cab4693f0d5016ad9df9 (patch)
tree609eda83dc228588383da7c48c2a9a48fc8beb48 /bundles/org.eclipse.swt/Eclipse SWT PI
parentd3e411a875318c41f25c36058890e2c9955d6cb5 (diff)
downloadeclipse.platform.swt-51221844d079d6d657c0cab4693f0d5016ad9df9.tar.gz
eclipse.platform.swt-51221844d079d6d657c0cab4693f0d5016ad9df9.tar.xz
eclipse.platform.swt-51221844d079d6d657c0cab4693f0d5016ad9df9.zip
99524
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c14
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java1
4 files changed, 19 insertions, 2 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 b595d7f962..6af1627902 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
@@ -12364,6 +12364,20 @@ fail:
}
#endif
+#ifndef NO_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventAny_2II
+JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_gtk_GdkEventAny_2II)
+ (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
+{
+ GdkEventAny _arg0, *lparg0=NULL;
+ OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_gtk_GdkEventAny_2II_FUNC);
+ if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail;
+ memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
+fail:
+ if (arg0 && lparg0) setGdkEventAnyFields(env, arg0, lparg0);
+ OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_gtk_GdkEventAny_2II_FUNC);
+}
+#endif
+
#ifndef NO_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventButton_2II
JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_gtk_GdkEventButton_2II)
(JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c
index db821280e2..458264b57d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c
@@ -18,8 +18,8 @@
#ifdef NATIVE_STATS
-int OS_nativeFunctionCount = 998;
-int OS_nativeFunctionCallCount[998];
+int OS_nativeFunctionCount = 999;
+int OS_nativeFunctionCallCount[999];
char * OS_nativeFunctionNames[] = {
"Call",
"GDK_1WINDOWING_1X11",
@@ -980,6 +980,7 @@ char * OS_nativeFunctionNames[] = {
"memmove__Lorg_eclipse_swt_internal_gtk_GTypeQuery_2II",
"memmove__Lorg_eclipse_swt_internal_gtk_GdkColor_2II",
"memmove__Lorg_eclipse_swt_internal_gtk_GdkDragContext_2II",
+ "memmove__Lorg_eclipse_swt_internal_gtk_GdkEventAny_2II",
"memmove__Lorg_eclipse_swt_internal_gtk_GdkEventButton_2II",
"memmove__Lorg_eclipse_swt_internal_gtk_GdkEventCrossing_2II",
"memmove__Lorg_eclipse_swt_internal_gtk_GdkEventExpose_2II",
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
index f1a76c0f8f..be56a31eff 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
@@ -984,6 +984,7 @@ typedef enum {
memmove__Lorg_eclipse_swt_internal_gtk_GTypeQuery_2II_FUNC,
memmove__Lorg_eclipse_swt_internal_gtk_GdkColor_2II_FUNC,
memmove__Lorg_eclipse_swt_internal_gtk_GdkDragContext_2II_FUNC,
+ memmove__Lorg_eclipse_swt_internal_gtk_GdkEventAny_2II_FUNC,
memmove__Lorg_eclipse_swt_internal_gtk_GdkEventButton_2II_FUNC,
memmove__Lorg_eclipse_swt_internal_gtk_GdkEventCrossing_2II_FUNC,
memmove__Lorg_eclipse_swt_internal_gtk_GdkEventExpose_2II_FUNC,
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
index fc1e646603..dc31967dcc 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
@@ -7627,6 +7627,7 @@ public static final native void memmove(GtkAdjustment dest, int /*long*/ src);
public static final native void memmove(GtkBorder dest, int /*long*/ src, int /*long*/ size);
public static final native void memmove(GdkColor dest, int /*long*/ src, int /*long*/ size);
public static final native void memmove(GdkEvent dest, int /*long*/ src, int /*long*/ size);
+public static final native void memmove(GdkEventAny dest, int /*long*/ src, int /*long*/ size);
public static final native void memmove(GdkEventButton dest, int /*long*/ src, int /*long*/ size);
public static final native void memmove(GdkEventCrossing dest, int /*long*/ src, int /*long*/ size);
public static final native void memmove(GdkEventExpose dest, int /*long*/ src, int /*long*/ size);