Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Cornu2003-08-21 16:23:20 +0000
committerChristophe Cornu2003-08-21 16:23:20 +0000
commitd8c030d5aba1f45355028a9148313287dbf7cbe6 (patch)
tree721d8725d1bdba43e39c885ec493e726defe8d7d
parentc4b01d42f9862e02b52ed4bc7036c606380e2e81 (diff)
downloadeclipse.platform.swt-d8c030d5aba1f45355028a9148313287dbf7cbe6.tar.gz
eclipse.platform.swt-d8c030d5aba1f45355028a9148313287dbf7cbe6.tar.xz
eclipse.platform.swt-d8c030d5aba1f45355028a9148313287dbf7cbe6.zip
*** empty log message ***
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c13
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java1
2 files changed, 14 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
index a384713eed..fcc8ba4af5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
@@ -8288,6 +8288,19 @@ JNIEXPORT void JNICALL OS_NATIVE(memcpy__ILorg_eclipse_swt_internal_carbon_Curso
}
#endif
+#ifndef NO_memcpy__ILorg_eclipse_swt_internal_carbon_EventRecord_2I
+JNIEXPORT void JNICALL OS_NATIVE(memcpy__ILorg_eclipse_swt_internal_carbon_EventRecord_2I)
+ (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
+{
+ EventRecord _arg1, *lparg1=NULL;
+ NATIVE_ENTER(env, that, "memcpy__ILorg_eclipse_swt_internal_carbon_EventRecord_2I\n")
+ if (arg1) lparg1 = getEventRecordFields(env, arg1, &_arg1);
+ memcpy((void *)arg0, (const void *)lparg1, (size_t)arg2);
+ if (arg1) setEventRecordFields(env, arg1, lparg1);
+ NATIVE_EXIT(env, that, "memcpy__ILorg_eclipse_swt_internal_carbon_EventRecord_2I\n")
+}
+#endif
+
#ifndef NO_memcpy__ILorg_eclipse_swt_internal_carbon_FontSelectionQDStyle_2I
JNIEXPORT void JNICALL OS_NATIVE(memcpy__ILorg_eclipse_swt_internal_carbon_FontSelectionQDStyle_2I)
(JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java
index 257953131c..63446da4e6 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java
@@ -1224,5 +1224,6 @@ public static final native void memcpy(int dest, Rect src, int n);
public static final native void memcpy(int dest, String src, int n);
public static final native void memcpy(char[] dest, byte[] src, int size);
public static final native void memcpy(byte[] dest, char[] src, int size);
+public static final native void memcpy(int dest, EventRecord src, int size);
public static final native void memset(int dest, int value, int size);
}

Back to the top