diff options
author | Silenio Quarti <silenio> | 2008-05-30 15:35:22 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2008-05-30 15:35:22 +0000 |
commit | 0607b23e08ea72653ea113f08262bc9d91c1b6d7 (patch) | |
tree | a1f85ec1c4495f668567726994637a7d0ad1ce84 /bundles/org.eclipse.swt/Eclipse SWT PI | |
parent | 43b37a66dcb69f4c7dd8a761be9a446f1ea77e81 (diff) | |
download | eclipse.platform.swt-0607b23e08ea72653ea113f08262bc9d91c1b6d7.tar.gz eclipse.platform.swt-0607b23e08ea72653ea113f08262bc9d91c1b6d7.tar.xz eclipse.platform.swt-0607b23e08ea72653ea113f08262bc9d91c1b6d7.zip |
234751 - Warnings in SWT builds
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI')
11 files changed, 37 insertions, 37 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com.c b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com.c index 9ee3fd8ae8..03067ca4b3 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com.c @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -969,7 +969,7 @@ JNIEXPORT jint JNICALL COM_NATIVE(SHDoDragDrop) jint rc = 0; COM_NATIVE_ENTER(env, that, SHDoDragDrop_FUNC); if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail; - rc = (jint)SHDoDragDrop((HWND)arg0, (IDataObject *)arg1, (IDropSource *)arg2, arg3, lparg4); + rc = (jint)SHDoDragDrop((HWND)arg0, (IDataObject *)arg1, (IDropSource *)arg2, arg3, (DWORD *)lparg4); fail: if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0); COM_NATIVE_EXIT(env, that, SHDoDragDrop_FUNC); diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.c index 6596570dfa..3e98a9babf 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.c @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.h index cf73ae7952..a6db98fdf8 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.h @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_structs.c b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_structs.c index 0f8b79cf19..700e21c89c 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_structs.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_structs.c @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_structs.h b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_structs.h index 580dde632c..099dee8882 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_structs.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_structs.h @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip.cpp b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip.cpp index e8324d0eaa..17cd181cc0 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip.cpp +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip.cpp @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -1154,6 +1154,32 @@ fail: } #endif +#ifndef NO_Graphics_1SetClipPath__II +extern "C" JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1SetClipPath__II)(JNIEnv *env, jclass that, jint arg0, jint arg1); +JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1SetClipPath__II) + (JNIEnv *env, jclass that, jint arg0, jint arg1) +{ + jint rc = 0; + Gdip_NATIVE_ENTER(env, that, Graphics_1SetClipPath__II_FUNC); + rc = (jint)((Graphics *)arg0)->SetClip((GraphicsPath *)arg1); + Gdip_NATIVE_EXIT(env, that, Graphics_1SetClipPath__II_FUNC); + return rc; +} +#endif + +#ifndef NO_Graphics_1SetClipPath__III +extern "C" JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1SetClipPath__III)(JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2); +JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1SetClipPath__III) + (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2) +{ + jint rc = 0; + Gdip_NATIVE_ENTER(env, that, Graphics_1SetClipPath__III_FUNC); + rc = (jint)((Graphics *)arg0)->SetClip((GraphicsPath *)arg1, (CombineMode)arg2); + Gdip_NATIVE_EXIT(env, that, Graphics_1SetClipPath__III_FUNC); + return rc; +} +#endif + #ifndef NO_Graphics_1SetCompositingQuality extern "C" JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1SetCompositingQuality)(JNIEnv *env, jclass that, jint arg0, jint arg1); JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1SetCompositingQuality) diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_custom.cpp b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_custom.cpp index d2492de362..eb300918db 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_custom.cpp +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_custom.cpp @@ -188,32 +188,6 @@ fail: } #endif -#ifndef NO_Graphics_1SetClipPath__II -extern "C" JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1SetClipPath__II)(JNIEnv *env, jclass that, jint arg0, jint arg1); -JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1SetClipPath__II) - (JNIEnv *env, jclass that, jint arg0, jint arg1) -{ - jint rc = 0; - Gdip_NATIVE_ENTER(env, that, Graphics_1SetClipPath__II_FUNC); - rc = (jint)((Graphics *)arg0)->SetClip((GraphicsPath *)arg1); - Gdip_NATIVE_EXIT(env, that, Graphics_1SetClipPath__II_FUNC); - return rc; -} -#endif - -#ifndef NO_Graphics_1SetClipPath__III -extern "C" JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1SetClipPath__III)(JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2); -JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1SetClipPath__III) - (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2) -{ - jint rc = 0; - Gdip_NATIVE_ENTER(env, that, Graphics_1SetClipPath__III_FUNC); - rc = (jint)((Graphics *)arg0)->SetClip((GraphicsPath *)arg1, (CombineMode)arg2); - Gdip_NATIVE_EXIT(env, that, Graphics_1SetClipPath__III_FUNC); - return rc; -} -#endif - #ifndef NO_PathGradientBrush_1SetInterpolationColors JNIEXPORT jint JNICALL Gdip_NATIVE(PathGradientBrush_1SetInterpolationColors) (JNIEnv *env, jclass that, SWT_PTR arg0, SWT_PTRArray arg1, jfloatArray arg2, jint arg3) diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp index 3db4ae597f..81fdb2a82e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.h index b3c4a05931..177ae50433 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.h @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_structs.cpp b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_structs.cpp index 248718c352..bf74f01eed 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_structs.cpp +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_structs.cpp @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_structs.h b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_structs.h index 279cadc106..8146d990c9 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_structs.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_structs.h @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at |