Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed2011-09-28 18:22:51 +0000
committerGrant Gayed2011-09-28 18:25:18 +0000
commitc6d37fa60688346030b3c61bffe81d1df232904c (patch)
tree44dd042c31538b10e56b65e89e44691c6fbfd2c1 /bundles/org.eclipse.swt/Eclipse SWT WebKit
parent97cf8bf9457f6c47f5de54050be5a8181e81efcf (diff)
downloadeclipse.platform.swt-c6d37fa60688346030b3c61bffe81d1df232904c.tar.gz
eclipse.platform.swt-c6d37fa60688346030b3c61bffe81d1df232904c.tar.xz
eclipse.platform.swt-c6d37fa60688346030b3c61bffe81d1df232904c.zip
Bug 359289 - [Browser] add WebKit support on linux ppc64
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT WebKit')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.c16
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/internal/webkit/WebKitGTK.java8
2 files changed, 12 insertions, 12 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.c b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.c
index ccee8100b4..42ea70db88 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.c
@@ -957,18 +957,18 @@ JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1soup_1session_1get_1feature)
#endif
#ifndef NO__1soup_1session_1get_1type
-JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1soup_1session_1get_1type)
+JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1soup_1session_1get_1type)
(JNIEnv *env, jclass that)
{
- jint rc = 0;
+ jintLong rc = 0;
WebKitGTK_NATIVE_ENTER(env, that, _1soup_1session_1get_1type_FUNC);
/*
- rc = (jint)soup_session_get_type();
+ rc = (jintLong)soup_session_get_type();
*/
{
WebKitGTK_LOAD_FUNCTION(fp, soup_session_get_type)
if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)())fp)();
+ rc = (jintLong)((jintLong (CALLING_CONVENTION*)())fp)();
}
}
WebKitGTK_NATIVE_EXIT(env, that, _1soup_1session_1get_1type_FUNC);
@@ -1483,18 +1483,18 @@ JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1frame_1get_1title)
#endif
#ifndef NO__1webkit_1web_1frame_1get_1type
-JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1web_1frame_1get_1type)
+JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1frame_1get_1type)
(JNIEnv *env, jclass that)
{
- jint rc = 0;
+ jintLong rc = 0;
WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1frame_1get_1type_FUNC);
/*
- rc = (jint)webkit_web_frame_get_type();
+ rc = (jintLong)webkit_web_frame_get_type();
*/
{
WebKitGTK_LOAD_FUNCTION(fp, webkit_web_frame_get_type)
if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)())fp)();
+ rc = (jintLong)((jintLong (CALLING_CONVENTION*)())fp)();
}
}
WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1frame_1get_1type_FUNC);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/internal/webkit/WebKitGTK.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/internal/webkit/WebKitGTK.java
index 5540f843f7..6daf33a51f 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/internal/webkit/WebKitGTK.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/internal/webkit/WebKitGTK.java
@@ -707,8 +707,8 @@ public static final void soup_session_feature_attach (int /*long*/ feature, int
/**
* @method flags=dynamic
*/
-public static final native int _soup_session_get_type ();
-public static final int soup_session_get_type () {
+public static final native int /*long*/ _soup_session_get_type ();
+public static final int /*long*/ soup_session_get_type () {
lock.lock();
try {
return _soup_session_get_type ();
@@ -1083,8 +1083,8 @@ public static final int /*long*/ webkit_web_frame_get_title (int /*long*/ frame)
/**
* @method flags=dynamic
*/
-public static final native int _webkit_web_frame_get_type ();
-public static final int webkit_web_frame_get_type () {
+public static final native int /*long*/ _webkit_web_frame_get_type ();
+public static final int /*long*/ webkit_web_frame_get_type () {
lock.lock();
try {
return _webkit_web_frame_get_type ();

Back to the top