diff options
author | Silenio Quarti <silenio> | 2005-04-07 19:30:55 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2005-04-07 19:30:55 +0000 |
commit | 4b21419a582289fce72ef15bfe70049085b3c772 (patch) | |
tree | ec1f39059baab314e1079e36e70ad6ddbe5ff5cc | |
parent | bdabeb6620228c16da3f8da6a521397fa0ccde9d (diff) | |
download | eclipse.platform.swt-4b21419a582289fce72ef15bfe70049085b3c772.tar.gz eclipse.platform.swt-4b21419a582289fce72ef15bfe70049085b3c772.tar.xz eclipse.platform.swt-4b21419a582289fce72ef15bfe70049085b3c772.zip |
add memmove(int,int,int)
5 files changed, 20 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties index d7e238bb72..0d0a4488b3 100644 --- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties +++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties @@ -4060,6 +4060,11 @@ OS_getenv_0=cast=const char * OS_localeconv_decimal_point= +OS_memmove__III= +OS_memmove__III_0=cast=(void *) +OS_memmove__III_1=cast=(const void *) +OS_memmove__III_2=cast=(size_t) + OS_memmove__ILorg_eclipse_swt_internal_gtk_GInterfaceInfo_2I= OS_memmove__ILorg_eclipse_swt_internal_gtk_GInterfaceInfo_2I_0=cast=(void *) OS_memmove__ILorg_eclipse_swt_internal_gtk_GInterfaceInfo_2I_1=cast=(const void *),flags=no_out 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 b4610c2276..afadbf82fd 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 @@ -11776,6 +11776,16 @@ JNIEXPORT jint JNICALL OS_NATIVE(localeconv_1decimal_1point) } #endif +#ifndef NO_memmove__III +JNIEXPORT void JNICALL OS_NATIVE(memmove__III) + (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2) +{ + OS_NATIVE_ENTER(env, that, memmove__III_FUNC); + memmove((void *)arg0, (const void *)arg1, (size_t)arg2); + OS_NATIVE_EXIT(env, that, memmove__III_FUNC); +} +#endif + #ifndef NO_memmove__ILorg_eclipse_swt_internal_gtk_GInterfaceInfo_2I JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_gtk_GInterfaceInfo_2I) (JNIEnv *env, jclass that, jint arg0, jobject 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 f7d9436987..ed7b3fe8cc 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 = 981; -int OS_nativeFunctionCallCount[981]; +int OS_nativeFunctionCount = 982; +int OS_nativeFunctionCallCount[982]; char * OS_nativeFunctionNames[] = { "Call", "GDK_1WINDOWING_1X11", @@ -940,6 +940,7 @@ char * OS_nativeFunctionNames[] = { "g_1main_1context_1wakeup", "getenv", "localeconv_1decimal_1point", + "memmove__III", "memmove__ILorg_eclipse_swt_internal_gtk_GInterfaceInfo_2I", "memmove__ILorg_eclipse_swt_internal_gtk_GObjectClass_2", "memmove__ILorg_eclipse_swt_internal_gtk_GTypeInfo_2I", 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 9f5553c274..d76c9c1edb 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 @@ -944,6 +944,7 @@ typedef enum { g_1main_1context_1wakeup_FUNC, getenv_FUNC, localeconv_1decimal_1point_FUNC, + memmove__III_FUNC, memmove__ILorg_eclipse_swt_internal_gtk_GInterfaceInfo_2I_FUNC, memmove__ILorg_eclipse_swt_internal_gtk_GObjectClass_2_FUNC, memmove__ILorg_eclipse_swt_internal_gtk_GTypeInfo_2I_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 e3b46fcb1d..ff97d9d08e 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 @@ -7491,6 +7491,7 @@ public static final native void memmove(int[] dest, byte[] src, int /*long*/ siz public static final native void memmove(byte[] dest, int /*long*/ src, int /*long*/ size); public static final native void memmove(char[] dest, int /*long*/ src, int /*long*/ size); public static final native void memmove(int[] dest, int /*long*/ src, int /*long*/ size); +public static final native void memmove(int dest, int /*long*/ src, int /*long*/ size); public static final native void memmove(long[] dest, int /*long*/ src, int /*long*/ size); public static final native void memset(int /*long*/ buffer, char c, int /*long*/ num); public static final native int /*long*/ _pango_attr_background_new (short red, short green, short blue); |