/******************************************************************************* * Copyright (c) 2009, 2012 IBM Corporation and others. All rights reserved. * The contents of this file are made available under the terms * of the GNU Lesser General Public License (LGPL) Version 2.1 that * accompanies this distribution (lgpl-v21.txt). The LGPL is also * available at http://www.gnu.org/licenses/lgpl.html. If the version * of the LGPL at http://www.gnu.org is different to the version of * the LGPL accompanying this distribution and there is any conflict * between the two license versions, the terms of the LGPL accompanying * this distribution shall govern. * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ #include "swt.h" #include "webkitgtk_structs.h" #include "webkitgtk_stats.h" #ifndef WebKitGTK_NATIVE #define WebKitGTK_NATIVE(func) Java_org_eclipse_swt_internal_webkit_WebKitGTK_##func #endif #ifndef NO_JSClassDefinition_1sizeof JNIEXPORT jint JNICALL WebKitGTK_NATIVE(JSClassDefinition_1sizeof) (JNIEnv *env, jclass that) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, JSClassDefinition_1sizeof_FUNC); rc = (jint)JSClassDefinition_sizeof(); WebKitGTK_NATIVE_EXIT(env, that, JSClassDefinition_1sizeof_FUNC); return rc; } #endif #ifndef NO__1JSClassCreate JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSClassCreate) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSClassCreate_FUNC); /* rc = (jintLong)JSClassCreate(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, JSClassCreate) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1JSClassCreate_FUNC); return rc; } #endif #ifndef NO__1JSContextGetGlobalObject JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSContextGetGlobalObject) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSContextGetGlobalObject_FUNC); /* rc = (jintLong)JSContextGetGlobalObject(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, JSContextGetGlobalObject) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1JSContextGetGlobalObject_FUNC); return rc; } #endif #ifndef NO__1JSEvaluateScript JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSEvaluateScript) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jint arg4, jintLongArray arg5) { jintLong *lparg5=NULL; jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSEvaluateScript_FUNC); if (arg5) if ((lparg5 = (*env)->GetIntLongArrayElements(env, arg5, NULL)) == NULL) goto fail; /* rc = (jintLong)JSEvaluateScript(arg0, arg1, arg2, arg3, arg4, lparg5); */ { WebKitGTK_LOAD_FUNCTION(fp, JSEvaluateScript) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jintLong, jintLong, jintLong, jint, jintLong *))fp)(arg0, arg1, arg2, arg3, arg4, lparg5); } } fail: if (arg5 && lparg5) (*env)->ReleaseIntLongArrayElements(env, arg5, lparg5, 0); WebKitGTK_NATIVE_EXIT(env, that, _1JSEvaluateScript_FUNC); return rc; } #endif #ifndef NO__1JSObjectGetPrivate JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSObjectGetPrivate) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSObjectGetPrivate_FUNC); /* rc = (jintLong)JSObjectGetPrivate(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, JSObjectGetPrivate) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1JSObjectGetPrivate_FUNC); return rc; } #endif #ifndef NO__1JSObjectGetProperty JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSObjectGetProperty) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLongArray arg3) { jintLong *lparg3=NULL; jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSObjectGetProperty_FUNC); if (arg3) if ((lparg3 = (*env)->GetIntLongArrayElements(env, arg3, NULL)) == NULL) goto fail; /* rc = (jintLong)JSObjectGetProperty(arg0, arg1, arg2, lparg3); */ { WebKitGTK_LOAD_FUNCTION(fp, JSObjectGetProperty) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jintLong, jintLong, jintLong *))fp)(arg0, arg1, arg2, lparg3); } } fail: if (arg3 && lparg3) (*env)->ReleaseIntLongArrayElements(env, arg3, lparg3, 0); WebKitGTK_NATIVE_EXIT(env, that, _1JSObjectGetProperty_FUNC); return rc; } #endif #ifndef NO__1JSObjectGetPropertyAtIndex JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSObjectGetPropertyAtIndex) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jintLongArray arg3) { jintLong *lparg3=NULL; jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSObjectGetPropertyAtIndex_FUNC); if (arg3) if ((lparg3 = (*env)->GetIntLongArrayElements(env, arg3, NULL)) == NULL) goto fail; /* rc = (jintLong)JSObjectGetPropertyAtIndex(arg0, arg1, arg2, lparg3); */ { WebKitGTK_LOAD_FUNCTION(fp, JSObjectGetPropertyAtIndex) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jintLong, jint, jintLong *))fp)(arg0, arg1, arg2, lparg3); } } fail: if (arg3 && lparg3) (*env)->ReleaseIntLongArrayElements(env, arg3, lparg3, 0); WebKitGTK_NATIVE_EXIT(env, that, _1JSObjectGetPropertyAtIndex_FUNC); return rc; } #endif #ifndef NO__1JSObjectMake JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSObjectMake) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSObjectMake_FUNC); /* rc = (jintLong)JSObjectMake(arg0, arg1, arg2); */ { WebKitGTK_LOAD_FUNCTION(fp, JSObjectMake) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jintLong, jintLong))fp)(arg0, arg1, arg2); } } WebKitGTK_NATIVE_EXIT(env, that, _1JSObjectMake_FUNC); return rc; } #endif #ifndef NO__1JSObjectMakeArray JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSObjectMakeArray) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLongArray arg2, jintLongArray arg3) { jintLong *lparg2=NULL; jintLong *lparg3=NULL; jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSObjectMakeArray_FUNC); if (arg2) if ((lparg2 = (*env)->GetIntLongArrayElements(env, arg2, NULL)) == NULL) goto fail; if (arg3) if ((lparg3 = (*env)->GetIntLongArrayElements(env, arg3, NULL)) == NULL) goto fail; /* rc = (jintLong)JSObjectMakeArray(arg0, arg1, lparg2, lparg3); */ { WebKitGTK_LOAD_FUNCTION(fp, JSObjectMakeArray) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jintLong, jintLong *, jintLong *))fp)(arg0, arg1, lparg2, lparg3); } } fail: if (arg3 && lparg3) (*env)->ReleaseIntLongArrayElements(env, arg3, lparg3, 0); if (arg2 && lparg2) (*env)->ReleaseIntLongArrayElements(env, arg2, lparg2, 0); WebKitGTK_NATIVE_EXIT(env, that, _1JSObjectMakeArray_FUNC); return rc; } #endif #ifndef NO__1JSObjectMakeFunctionWithCallback JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSObjectMakeFunctionWithCallback) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSObjectMakeFunctionWithCallback_FUNC); /* rc = (jintLong)JSObjectMakeFunctionWithCallback(arg0, arg1, arg2); */ { WebKitGTK_LOAD_FUNCTION(fp, JSObjectMakeFunctionWithCallback) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jintLong, jintLong))fp)(arg0, arg1, arg2); } } WebKitGTK_NATIVE_EXIT(env, that, _1JSObjectMakeFunctionWithCallback_FUNC); return rc; } #endif #ifndef NO__1JSObjectSetProperty JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1JSObjectSetProperty) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3, jint arg4, jintLongArray arg5) { jintLong *lparg5=NULL; WebKitGTK_NATIVE_ENTER(env, that, _1JSObjectSetProperty_FUNC); if (arg5) if ((lparg5 = (*env)->GetIntLongArrayElements(env, arg5, NULL)) == NULL) goto fail; /* JSObjectSetProperty(arg0, arg1, arg2, arg3, arg4, lparg5); */ { WebKitGTK_LOAD_FUNCTION(fp, JSObjectSetProperty) if (fp) { ((void (CALLING_CONVENTION*)(jintLong, jintLong, jintLong, jintLong, jint, jintLong *))fp)(arg0, arg1, arg2, arg3, arg4, lparg5); } } fail: if (arg5 && lparg5) (*env)->ReleaseIntLongArrayElements(env, arg5, lparg5, 0); WebKitGTK_NATIVE_EXIT(env, that, _1JSObjectSetProperty_FUNC); } #endif #ifndef NO__1JSStringCreateWithUTF8CString JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSStringCreateWithUTF8CString) (JNIEnv *env, jclass that, jbyteArray arg0) { jbyte *lparg0=NULL; jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSStringCreateWithUTF8CString_FUNC); if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail; /* rc = (jintLong)JSStringCreateWithUTF8CString(lparg0); */ { WebKitGTK_LOAD_FUNCTION(fp, JSStringCreateWithUTF8CString) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jbyte *))fp)(lparg0); } } fail: if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0); WebKitGTK_NATIVE_EXIT(env, that, _1JSStringCreateWithUTF8CString_FUNC); return rc; } #endif #ifndef NO__1JSStringGetLength JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSStringGetLength) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSStringGetLength_FUNC); /* rc = (jintLong)JSStringGetLength(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, JSStringGetLength) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1JSStringGetLength_FUNC); return rc; } #endif #ifndef NO__1JSStringGetMaximumUTF8CStringSize JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSStringGetMaximumUTF8CStringSize) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSStringGetMaximumUTF8CStringSize_FUNC); /* rc = (jintLong)JSStringGetMaximumUTF8CStringSize(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, JSStringGetMaximumUTF8CStringSize) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1JSStringGetMaximumUTF8CStringSize_FUNC); return rc; } #endif #ifndef NO__1JSStringGetUTF8CString JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSStringGetUTF8CString) (JNIEnv *env, jclass that, jintLong arg0, jbyteArray arg1, jintLong arg2) { jbyte *lparg1=NULL; jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSStringGetUTF8CString_FUNC); if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; /* rc = (jintLong)JSStringGetUTF8CString(arg0, lparg1, arg2); */ { WebKitGTK_LOAD_FUNCTION(fp, JSStringGetUTF8CString) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jbyte *, jintLong))fp)(arg0, lparg1, arg2); } } fail: if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); WebKitGTK_NATIVE_EXIT(env, that, _1JSStringGetUTF8CString_FUNC); return rc; } #endif #ifndef NO__1JSStringIsEqualToUTF8CString JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1JSStringIsEqualToUTF8CString) (JNIEnv *env, jclass that, jintLong arg0, jbyteArray arg1) { jbyte *lparg1=NULL; jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSStringIsEqualToUTF8CString_FUNC); if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; /* rc = (jint)JSStringIsEqualToUTF8CString(arg0, lparg1); */ { WebKitGTK_LOAD_FUNCTION(fp, JSStringIsEqualToUTF8CString) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)(jintLong, jbyte *))fp)(arg0, lparg1); } } fail: if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); WebKitGTK_NATIVE_EXIT(env, that, _1JSStringIsEqualToUTF8CString_FUNC); return rc; } #endif #ifndef NO__1JSStringRelease JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1JSStringRelease) (JNIEnv *env, jclass that, jintLong arg0) { WebKitGTK_NATIVE_ENTER(env, that, _1JSStringRelease_FUNC); /* JSStringRelease(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, JSStringRelease) if (fp) { ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1JSStringRelease_FUNC); } #endif #ifndef NO__1JSValueGetType JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1JSValueGetType) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSValueGetType_FUNC); /* rc = (jint)JSValueGetType(arg0, arg1); */ { WebKitGTK_LOAD_FUNCTION(fp, JSValueGetType) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); } } WebKitGTK_NATIVE_EXIT(env, that, _1JSValueGetType_FUNC); return rc; } #endif #ifndef NO__1JSValueIsObjectOfClass JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1JSValueIsObjectOfClass) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSValueIsObjectOfClass_FUNC); /* rc = (jint)JSValueIsObjectOfClass(arg0, arg1, arg2); */ { WebKitGTK_LOAD_FUNCTION(fp, JSValueIsObjectOfClass) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)(jintLong, jintLong, jintLong))fp)(arg0, arg1, arg2); } } WebKitGTK_NATIVE_EXIT(env, that, _1JSValueIsObjectOfClass_FUNC); return rc; } #endif #ifndef NO__1JSValueMakeBoolean JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSValueMakeBoolean) (JNIEnv *env, jclass that, jintLong arg0, jint arg1) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSValueMakeBoolean_FUNC); /* rc = (jintLong)JSValueMakeBoolean(arg0, arg1); */ { WebKitGTK_LOAD_FUNCTION(fp, JSValueMakeBoolean) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jint))fp)(arg0, arg1); } } WebKitGTK_NATIVE_EXIT(env, that, _1JSValueMakeBoolean_FUNC); return rc; } #endif #ifndef NO__1JSValueMakeNumber JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSValueMakeNumber) (JNIEnv *env, jclass that, jintLong arg0, jdouble arg1) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSValueMakeNumber_FUNC); /* rc = (jintLong)JSValueMakeNumber(arg0, arg1); */ { WebKitGTK_LOAD_FUNCTION(fp, JSValueMakeNumber) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jdouble))fp)(arg0, arg1); } } WebKitGTK_NATIVE_EXIT(env, that, _1JSValueMakeNumber_FUNC); return rc; } #endif #ifndef NO__1JSValueMakeString JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSValueMakeString) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSValueMakeString_FUNC); /* rc = (jintLong)JSValueMakeString(arg0, arg1); */ { WebKitGTK_LOAD_FUNCTION(fp, JSValueMakeString) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); } } WebKitGTK_NATIVE_EXIT(env, that, _1JSValueMakeString_FUNC); return rc; } #endif #ifndef NO__1JSValueMakeUndefined JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSValueMakeUndefined) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSValueMakeUndefined_FUNC); /* rc = (jintLong)JSValueMakeUndefined(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, JSValueMakeUndefined) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1JSValueMakeUndefined_FUNC); return rc; } #endif #ifndef NO__1JSValueToNumber JNIEXPORT jdouble JNICALL WebKitGTK_NATIVE(_1JSValueToNumber) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLongArray arg2) { jintLong *lparg2=NULL; jdouble rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSValueToNumber_FUNC); if (arg2) if ((lparg2 = (*env)->GetIntLongArrayElements(env, arg2, NULL)) == NULL) goto fail; /* rc = (jdouble)JSValueToNumber(arg0, arg1, lparg2); */ { WebKitGTK_LOAD_FUNCTION(fp, JSValueToNumber) if (fp) { rc = (jdouble)((jdouble (CALLING_CONVENTION*)(jintLong, jintLong, jintLong *))fp)(arg0, arg1, lparg2); } } fail: if (arg2 && lparg2) (*env)->ReleaseIntLongArrayElements(env, arg2, lparg2, 0); WebKitGTK_NATIVE_EXIT(env, that, _1JSValueToNumber_FUNC); return rc; } #endif #ifndef NO__1JSValueToStringCopy JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1JSValueToStringCopy) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLongArray arg2) { jintLong *lparg2=NULL; jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1JSValueToStringCopy_FUNC); if (arg2) if ((lparg2 = (*env)->GetIntLongArrayElements(env, arg2, NULL)) == NULL) goto fail; /* rc = (jintLong)JSValueToStringCopy(arg0, arg1, lparg2); */ { WebKitGTK_LOAD_FUNCTION(fp, JSValueToStringCopy) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jintLong, jintLong *))fp)(arg0, arg1, lparg2); } } fail: if (arg2 && lparg2) (*env)->ReleaseIntLongArrayElements(env, arg2, lparg2, 0); WebKitGTK_NATIVE_EXIT(env, that, _1JSValueToStringCopy_FUNC); return rc; } #endif #ifndef NO__1SoupCookie_1expires JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1SoupCookie_1expires) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1SoupCookie_1expires_FUNC); rc = (jintLong)((SoupCookie *)arg0)->expires; WebKitGTK_NATIVE_EXIT(env, that, _1SoupCookie_1expires_FUNC); return rc; } #endif #ifndef NO__1SoupMessage_1method JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1SoupMessage_1method) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { WebKitGTK_NATIVE_ENTER(env, that, _1SoupMessage_1method_FUNC); ((SoupMessage *)arg0)->method = ((const char *)arg1); WebKitGTK_NATIVE_EXIT(env, that, _1SoupMessage_1method_FUNC); } #endif #ifndef NO__1SoupMessage_1request_1body JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1SoupMessage_1request_1body) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1SoupMessage_1request_1body_FUNC); rc = (jintLong)((SoupMessage *)arg0)->request_body; WebKitGTK_NATIVE_EXIT(env, that, _1SoupMessage_1request_1body_FUNC); return rc; } #endif #ifndef NO__1SoupMessage_1request_1headers JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1SoupMessage_1request_1headers) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1SoupMessage_1request_1headers_FUNC); rc = (jintLong)((SoupMessage *)arg0)->request_headers; WebKitGTK_NATIVE_EXIT(env, that, _1SoupMessage_1request_1headers_FUNC); return rc; } #endif #ifndef NO__1soup_1auth_1authenticate JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1soup_1auth_1authenticate) (JNIEnv *env, jclass that, jintLong arg0, jbyteArray arg1, jbyteArray arg2) { jbyte *lparg1=NULL; jbyte *lparg2=NULL; WebKitGTK_NATIVE_ENTER(env, that, _1soup_1auth_1authenticate_FUNC); if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; if (arg2) if ((lparg2 = (*env)->GetByteArrayElements(env, arg2, NULL)) == NULL) goto fail; /* soup_auth_authenticate(arg0, lparg1, lparg2); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_auth_authenticate) if (fp) { ((void (CALLING_CONVENTION*)(jintLong, jbyte *, jbyte *))fp)(arg0, lparg1, lparg2); } } fail: if (arg2 && lparg2) (*env)->ReleaseByteArrayElements(env, arg2, lparg2, 0); if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); WebKitGTK_NATIVE_EXIT(env, that, _1soup_1auth_1authenticate_FUNC); } #endif #ifndef NO__1soup_1auth_1get_1host JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1soup_1auth_1get_1host) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1soup_1auth_1get_1host_FUNC); /* rc = (jintLong)soup_auth_get_host(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_auth_get_host) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1auth_1get_1host_FUNC); return rc; } #endif #ifndef NO__1soup_1auth_1get_1scheme_1name JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1soup_1auth_1get_1scheme_1name) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1soup_1auth_1get_1scheme_1name_FUNC); /* rc = (jintLong)soup_auth_get_scheme_name(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_auth_get_scheme_name) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1auth_1get_1scheme_1name_FUNC); return rc; } #endif #ifndef NO__1soup_1cookie_1free JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1soup_1cookie_1free) (JNIEnv *env, jclass that, jintLong arg0) { WebKitGTK_NATIVE_ENTER(env, that, _1soup_1cookie_1free_FUNC); /* soup_cookie_free(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_cookie_free) if (fp) { ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1cookie_1free_FUNC); } #endif #ifndef NO__1soup_1cookie_1jar_1add_1cookie JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1soup_1cookie_1jar_1add_1cookie) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { WebKitGTK_NATIVE_ENTER(env, that, _1soup_1cookie_1jar_1add_1cookie_FUNC); /* soup_cookie_jar_add_cookie(arg0, arg1); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_cookie_jar_add_cookie) if (fp) { ((void (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1cookie_1jar_1add_1cookie_FUNC); } #endif #ifndef NO__1soup_1cookie_1jar_1all_1cookies JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1soup_1cookie_1jar_1all_1cookies) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1soup_1cookie_1jar_1all_1cookies_FUNC); /* rc = (jintLong)soup_cookie_jar_all_cookies(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_cookie_jar_all_cookies) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1cookie_1jar_1all_1cookies_FUNC); return rc; } #endif #ifndef NO__1soup_1cookie_1jar_1delete_1cookie JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1soup_1cookie_1jar_1delete_1cookie) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { WebKitGTK_NATIVE_ENTER(env, that, _1soup_1cookie_1jar_1delete_1cookie_FUNC); /* soup_cookie_jar_delete_cookie(arg0, arg1); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_cookie_jar_delete_cookie) if (fp) { ((void (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1cookie_1jar_1delete_1cookie_FUNC); } #endif #ifndef NO__1soup_1cookie_1jar_1get_1cookies JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1soup_1cookie_1jar_1get_1cookies) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1soup_1cookie_1jar_1get_1cookies_FUNC); /* rc = (jintLong)soup_cookie_jar_get_cookies(arg0, arg1, arg2); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_cookie_jar_get_cookies) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jintLong, jint))fp)(arg0, arg1, arg2); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1cookie_1jar_1get_1cookies_FUNC); return rc; } #endif #ifndef NO__1soup_1cookie_1jar_1get_1type JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1soup_1cookie_1jar_1get_1type) (JNIEnv *env, jclass that) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1soup_1cookie_1jar_1get_1type_FUNC); /* rc = (jintLong)soup_cookie_jar_get_type(); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_cookie_jar_get_type) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)())fp)(); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1cookie_1jar_1get_1type_FUNC); return rc; } #endif #ifndef NO__1soup_1cookie_1parse JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1soup_1cookie_1parse) (JNIEnv *env, jclass that, jbyteArray arg0, jintLong arg1) { jbyte *lparg0=NULL; jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1soup_1cookie_1parse_FUNC); if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail; /* rc = (jintLong)soup_cookie_parse(lparg0, arg1); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_cookie_parse) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jbyte *, jintLong))fp)(lparg0, arg1); } } fail: if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0); WebKitGTK_NATIVE_EXIT(env, that, _1soup_1cookie_1parse_FUNC); return rc; } #endif #ifndef NO__1soup_1message_1body_1append JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1soup_1message_1body_1append) (JNIEnv *env, jclass that, jintLong arg0, jint arg1, jintLong arg2, jintLong arg3) { WebKitGTK_NATIVE_ENTER(env, that, _1soup_1message_1body_1append_FUNC); /* soup_message_body_append(arg0, arg1, arg2, arg3); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_message_body_append) if (fp) { ((void (CALLING_CONVENTION*)(jintLong, jint, jintLong, jintLong))fp)(arg0, arg1, arg2, arg3); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1message_1body_1append_FUNC); } #endif #ifndef NO__1soup_1message_1body_1flatten JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1soup_1message_1body_1flatten) (JNIEnv *env, jclass that, jintLong arg0) { WebKitGTK_NATIVE_ENTER(env, that, _1soup_1message_1body_1flatten_FUNC); /* soup_message_body_flatten(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_message_body_flatten) if (fp) { ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1message_1body_1flatten_FUNC); } #endif #ifndef NO__1soup_1message_1get_1uri JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1soup_1message_1get_1uri) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1soup_1message_1get_1uri_FUNC); /* rc = (jintLong)soup_message_get_uri(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_message_get_uri) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1message_1get_1uri_FUNC); return rc; } #endif #ifndef NO__1soup_1message_1headers_1append JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1soup_1message_1headers_1append) (JNIEnv *env, jclass that, jintLong arg0, jbyteArray arg1, jbyteArray arg2) { jbyte *lparg1=NULL; jbyte *lparg2=NULL; WebKitGTK_NATIVE_ENTER(env, that, _1soup_1message_1headers_1append_FUNC); if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; if (arg2) if ((lparg2 = (*env)->GetByteArrayElements(env, arg2, NULL)) == NULL) goto fail; /* soup_message_headers_append(arg0, lparg1, lparg2); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_message_headers_append) if (fp) { ((void (CALLING_CONVENTION*)(jintLong, jbyte *, jbyte *))fp)(arg0, lparg1, lparg2); } } fail: if (arg2 && lparg2) (*env)->ReleaseByteArrayElements(env, arg2, lparg2, 0); if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); WebKitGTK_NATIVE_EXIT(env, that, _1soup_1message_1headers_1append_FUNC); } #endif #ifndef NO__1soup_1session_1add_1feature_1by_1type JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1soup_1session_1add_1feature_1by_1type) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { WebKitGTK_NATIVE_ENTER(env, that, _1soup_1session_1add_1feature_1by_1type_FUNC); /* soup_session_add_feature_by_type(arg0, arg1); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_session_add_feature_by_type) if (fp) { ((void (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1session_1add_1feature_1by_1type_FUNC); } #endif #ifndef NO__1soup_1session_1feature_1attach JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1soup_1session_1feature_1attach) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { WebKitGTK_NATIVE_ENTER(env, that, _1soup_1session_1feature_1attach_FUNC); /* soup_session_feature_attach(arg0, arg1); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_session_feature_attach) if (fp) { ((void (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1session_1feature_1attach_FUNC); } #endif #ifndef NO__1soup_1session_1feature_1detach JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1soup_1session_1feature_1detach) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { WebKitGTK_NATIVE_ENTER(env, that, _1soup_1session_1feature_1detach_FUNC); /* soup_session_feature_detach(arg0, arg1); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_session_feature_detach) if (fp) { ((void (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1session_1feature_1detach_FUNC); } #endif #ifndef NO__1soup_1session_1get_1feature JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1soup_1session_1get_1feature) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1soup_1session_1get_1feature_FUNC); /* rc = (jintLong)soup_session_get_feature(arg0, arg1); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_session_get_feature) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1session_1get_1feature_FUNC); return rc; } #endif #ifndef NO__1soup_1session_1get_1type JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1soup_1session_1get_1type) (JNIEnv *env, jclass that) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1soup_1session_1get_1type_FUNC); /* rc = (jintLong)soup_session_get_type(); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_session_get_type) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)())fp)(); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1session_1get_1type_FUNC); return rc; } #endif #ifndef NO__1soup_1uri_1free JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1soup_1uri_1free) (JNIEnv *env, jclass that, jintLong arg0) { WebKitGTK_NATIVE_ENTER(env, that, _1soup_1uri_1free_FUNC); /* soup_uri_free(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_uri_free) if (fp) { ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1uri_1free_FUNC); } #endif #ifndef NO__1soup_1uri_1new JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1soup_1uri_1new) (JNIEnv *env, jclass that, jbyteArray arg0) { jbyte *lparg0=NULL; jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1soup_1uri_1new_FUNC); if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail; /* rc = (jintLong)soup_uri_new(lparg0); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_uri_new) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jbyte *))fp)(lparg0); } } fail: if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0); WebKitGTK_NATIVE_EXIT(env, that, _1soup_1uri_1new_FUNC); return rc; } #endif #ifndef NO__1soup_1uri_1to_1string JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1soup_1uri_1to_1string) (JNIEnv *env, jclass that, jintLong arg0, jint arg1) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1soup_1uri_1to_1string_FUNC); /* rc = (jintLong)soup_uri_to_string(arg0, arg1); */ { WebKitGTK_LOAD_FUNCTION(fp, soup_uri_to_string) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong, jint))fp)(arg0, arg1); } } WebKitGTK_NATIVE_EXIT(env, that, _1soup_1uri_1to_1string_FUNC); return rc; } #endif #ifndef NO__1webkit_1dom_1event_1target_1add_1event_1listener JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1dom_1event_1target_1add_1event_1listener) (JNIEnv *env, jclass that, jintLong arg0, jbyteArray arg1, jintLong arg2, jint arg3, jintLong arg4) { jbyte *lparg1=NULL; jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1dom_1event_1target_1add_1event_1listener_FUNC); if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; /* rc = (jint)webkit_dom_event_target_add_event_listener(arg0, lparg1, arg2, arg3, arg4); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_dom_event_target_add_event_listener) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)(jintLong, jbyte *, jintLong, jint, jintLong))fp)(arg0, lparg1, arg2, arg3, arg4); } } fail: if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1dom_1event_1target_1add_1event_1listener_FUNC); return rc; } #endif #ifndef NO__1webkit_1dom_1mouse_1event_1get_1alt_1key JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1dom_1mouse_1event_1get_1alt_1key) (JNIEnv *env, jclass that, jintLong arg0) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1dom_1mouse_1event_1get_1alt_1key_FUNC); /* rc = (jint)webkit_dom_mouse_event_get_alt_key(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_dom_mouse_event_get_alt_key) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1dom_1mouse_1event_1get_1alt_1key_FUNC); return rc; } #endif #ifndef NO__1webkit_1dom_1mouse_1event_1get_1button JNIEXPORT jshort JNICALL WebKitGTK_NATIVE(_1webkit_1dom_1mouse_1event_1get_1button) (JNIEnv *env, jclass that, jintLong arg0) { jshort rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1dom_1mouse_1event_1get_1button_FUNC); /* rc = (jshort)webkit_dom_mouse_event_get_button(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_dom_mouse_event_get_button) if (fp) { rc = (jshort)((jshort (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1dom_1mouse_1event_1get_1button_FUNC); return rc; } #endif #ifndef NO__1webkit_1dom_1mouse_1event_1get_1ctrl_1key JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1dom_1mouse_1event_1get_1ctrl_1key) (JNIEnv *env, jclass that, jintLong arg0) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1dom_1mouse_1event_1get_1ctrl_1key_FUNC); /* rc = (jint)webkit_dom_mouse_event_get_ctrl_key(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_dom_mouse_event_get_ctrl_key) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1dom_1mouse_1event_1get_1ctrl_1key_FUNC); return rc; } #endif #ifndef NO__1webkit_1dom_1mouse_1event_1get_1meta_1key JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1dom_1mouse_1event_1get_1meta_1key) (JNIEnv *env, jclass that, jintLong arg0) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1dom_1mouse_1event_1get_1meta_1key_FUNC); /* rc = (jint)webkit_dom_mouse_event_get_meta_key(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_dom_mouse_event_get_meta_key) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1dom_1mouse_1event_1get_1meta_1key_FUNC); return rc; } #endif #ifndef NO__1webkit_1dom_1mouse_1event_1get_1screen_1x JNIEXPORT jlong JNICALL WebKitGTK_NATIVE(_1webkit_1dom_1mouse_1event_1get_1screen_1x) (JNIEnv *env, jclass that, jintLong arg0) { jlong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1dom_1mouse_1event_1get_1screen_1x_FUNC); /* rc = (jlong)webkit_dom_mouse_event_get_screen_x(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_dom_mouse_event_get_screen_x) if (fp) { rc = (jlong)((jlong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1dom_1mouse_1event_1get_1screen_1x_FUNC); return rc; } #endif #ifndef NO__1webkit_1dom_1mouse_1event_1get_1screen_1y JNIEXPORT jlong JNICALL WebKitGTK_NATIVE(_1webkit_1dom_1mouse_1event_1get_1screen_1y) (JNIEnv *env, jclass that, jintLong arg0) { jlong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1dom_1mouse_1event_1get_1screen_1y_FUNC); /* rc = (jlong)webkit_dom_mouse_event_get_screen_y(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_dom_mouse_event_get_screen_y) if (fp) { rc = (jlong)((jlong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1dom_1mouse_1event_1get_1screen_1y_FUNC); return rc; } #endif #ifndef NO__1webkit_1dom_1mouse_1event_1get_1shift_1key JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1dom_1mouse_1event_1get_1shift_1key) (JNIEnv *env, jclass that, jintLong arg0) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1dom_1mouse_1event_1get_1shift_1key_FUNC); /* rc = (jint)webkit_dom_mouse_event_get_shift_key(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_dom_mouse_event_get_shift_key) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1dom_1mouse_1event_1get_1shift_1key_FUNC); return rc; } #endif #ifndef NO__1webkit_1dom_1ui_1event_1get_1char_1code JNIEXPORT jlong JNICALL WebKitGTK_NATIVE(_1webkit_1dom_1ui_1event_1get_1char_1code) (JNIEnv *env, jclass that, jintLong arg0) { jlong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1dom_1ui_1event_1get_1char_1code_FUNC); /* rc = (jlong)webkit_dom_ui_event_get_char_code(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_dom_ui_event_get_char_code) if (fp) { rc = (jlong)((jlong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1dom_1ui_1event_1get_1char_1code_FUNC); return rc; } #endif #ifndef NO__1webkit_1dom_1ui_1event_1get_1detail JNIEXPORT jlong JNICALL WebKitGTK_NATIVE(_1webkit_1dom_1ui_1event_1get_1detail) (JNIEnv *env, jclass that, jintLong arg0) { jlong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1dom_1ui_1event_1get_1detail_FUNC); /* rc = (jlong)webkit_dom_ui_event_get_detail(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_dom_ui_event_get_detail) if (fp) { rc = (jlong)((jlong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1dom_1ui_1event_1get_1detail_FUNC); return rc; } #endif #ifndef NO__1webkit_1dom_1ui_1event_1get_1key_1code JNIEXPORT jlong JNICALL WebKitGTK_NATIVE(_1webkit_1dom_1ui_1event_1get_1key_1code) (JNIEnv *env, jclass that, jintLong arg0) { jlong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1dom_1ui_1event_1get_1key_1code_FUNC); /* rc = (jlong)webkit_dom_ui_event_get_key_code(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_dom_ui_event_get_key_code) if (fp) { rc = (jlong)((jlong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1dom_1ui_1event_1get_1key_1code_FUNC); return rc; } #endif #ifndef NO__1webkit_1download_1cancel JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1download_1cancel) (JNIEnv *env, jclass that, jintLong arg0) { WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1download_1cancel_FUNC); /* webkit_download_cancel(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_download_cancel) if (fp) { ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1download_1cancel_FUNC); } #endif #ifndef NO__1webkit_1download_1get_1current_1size JNIEXPORT jlong JNICALL WebKitGTK_NATIVE(_1webkit_1download_1get_1current_1size) (JNIEnv *env, jclass that, jintLong arg0) { jlong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1download_1get_1current_1size_FUNC); /* rc = (jlong)webkit_download_get_current_size(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_download_get_current_size) if (fp) { rc = (jlong)((jlong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1download_1get_1current_1size_FUNC); return rc; } #endif #ifndef NO__1webkit_1download_1get_1network_1request JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1download_1get_1network_1request) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1download_1get_1network_1request_FUNC); /* rc = (jintLong)webkit_download_get_network_request(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_download_get_network_request) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1download_1get_1network_1request_FUNC); return rc; } #endif #ifndef NO__1webkit_1download_1get_1status JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1download_1get_1status) (JNIEnv *env, jclass that, jintLong arg0) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1download_1get_1status_FUNC); /* rc = (jint)webkit_download_get_status(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_download_get_status) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1download_1get_1status_FUNC); return rc; } #endif #ifndef NO__1webkit_1download_1get_1suggested_1filename JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1download_1get_1suggested_1filename) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1download_1get_1suggested_1filename_FUNC); /* rc = (jintLong)webkit_download_get_suggested_filename(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_download_get_suggested_filename) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1download_1get_1suggested_1filename_FUNC); return rc; } #endif #ifndef NO__1webkit_1download_1get_1total_1size JNIEXPORT jlong JNICALL WebKitGTK_NATIVE(_1webkit_1download_1get_1total_1size) (JNIEnv *env, jclass that, jintLong arg0) { jlong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1download_1get_1total_1size_FUNC); /* rc = (jlong)webkit_download_get_total_size(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_download_get_total_size) if (fp) { rc = (jlong)((jlong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1download_1get_1total_1size_FUNC); return rc; } #endif #ifndef NO__1webkit_1download_1get_1uri JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1download_1get_1uri) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1download_1get_1uri_FUNC); /* rc = (jintLong)webkit_download_get_uri(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_download_get_uri) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1download_1get_1uri_FUNC); return rc; } #endif #ifndef NO__1webkit_1download_1new JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1download_1new) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1download_1new_FUNC); /* rc = (jintLong)webkit_download_new(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_download_new) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1download_1new_FUNC); return rc; } #endif #ifndef NO__1webkit_1download_1set_1destination_1uri JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1download_1set_1destination_1uri) (JNIEnv *env, jclass that, jintLong arg0, jbyteArray arg1) { jbyte *lparg1=NULL; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1download_1set_1destination_1uri_FUNC); if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; /* webkit_download_set_destination_uri(arg0, lparg1); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_download_set_destination_uri) if (fp) { ((void (CALLING_CONVENTION*)(jintLong, jbyte *))fp)(arg0, lparg1); } } fail: if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1download_1set_1destination_1uri_FUNC); } #endif #ifndef NO__1webkit_1download_1start JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1download_1start) (JNIEnv *env, jclass that, jintLong arg0) { WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1download_1start_FUNC); /* webkit_download_start(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_download_start) if (fp) { ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1download_1start_FUNC); } #endif #ifndef NO__1webkit_1get_1default_1session JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1get_1default_1session) (JNIEnv *env, jclass that) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1get_1default_1session_FUNC); /* rc = (jintLong)webkit_get_default_session(); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_get_default_session) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)())fp)(); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1get_1default_1session_FUNC); return rc; } #endif #ifndef NO__1webkit_1major_1version JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1major_1version) (JNIEnv *env, jclass that) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1major_1version_FUNC); /* rc = (jint)webkit_major_version(); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_major_version) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)())fp)(); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1major_1version_FUNC); return rc; } #endif #ifndef NO__1webkit_1micro_1version JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1micro_1version) (JNIEnv *env, jclass that) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1micro_1version_FUNC); /* rc = (jint)webkit_micro_version(); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_micro_version) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)())fp)(); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1micro_1version_FUNC); return rc; } #endif #ifndef NO__1webkit_1minor_1version JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1minor_1version) (JNIEnv *env, jclass that) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1minor_1version_FUNC); /* rc = (jint)webkit_minor_version(); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_minor_version) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)())fp)(); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1minor_1version_FUNC); return rc; } #endif #ifndef NO__1webkit_1network_1request_1get_1message JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1network_1request_1get_1message) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1network_1request_1get_1message_FUNC); /* rc = (jintLong)webkit_network_request_get_message(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_network_request_get_message) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1network_1request_1get_1message_FUNC); return rc; } #endif #ifndef NO__1webkit_1network_1request_1get_1uri JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1network_1request_1get_1uri) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1network_1request_1get_1uri_FUNC); /* rc = (jintLong)webkit_network_request_get_uri(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_network_request_get_uri) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1network_1request_1get_1uri_FUNC); return rc; } #endif #ifndef NO__1webkit_1network_1request_1new JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1network_1request_1new) (JNIEnv *env, jclass that, jbyteArray arg0) { jbyte *lparg0=NULL; jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1network_1request_1new_FUNC); if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail; /* rc = (jintLong)webkit_network_request_new(lparg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_network_request_new) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jbyte *))fp)(lparg0); } } fail: if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0); WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1network_1request_1new_FUNC); return rc; } #endif #ifndef NO__1webkit_1soup_1auth_1dialog_1get_1type JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1soup_1auth_1dialog_1get_1type) (JNIEnv *env, jclass that) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1soup_1auth_1dialog_1get_1type_FUNC); /* rc = (jintLong)webkit_soup_auth_dialog_get_type(); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_soup_auth_dialog_get_type) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)())fp)(); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1soup_1auth_1dialog_1get_1type_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1data_1source_1get_1data JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1data_1source_1get_1data) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1data_1source_1get_1data_FUNC); /* rc = (jintLong)webkit_web_data_source_get_data(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_data_source_get_data) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1data_1source_1get_1data_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1data_1source_1get_1encoding JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1data_1source_1get_1encoding) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1data_1source_1get_1encoding_FUNC); /* rc = (jintLong)webkit_web_data_source_get_encoding(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_data_source_get_encoding) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1data_1source_1get_1encoding_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1frame_1get_1data_1source JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1frame_1get_1data_1source) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1frame_1get_1data_1source_FUNC); /* rc = (jintLong)webkit_web_frame_get_data_source(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_frame_get_data_source) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1frame_1get_1data_1source_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1frame_1get_1global_1context JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1frame_1get_1global_1context) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1frame_1get_1global_1context_FUNC); /* rc = (jintLong)webkit_web_frame_get_global_context(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_frame_get_global_context) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1frame_1get_1global_1context_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1frame_1get_1load_1status JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1web_1frame_1get_1load_1status) (JNIEnv *env, jclass that, jintLong arg0) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1frame_1get_1load_1status_FUNC); /* rc = (jint)webkit_web_frame_get_load_status(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_frame_get_load_status) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1frame_1get_1load_1status_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1frame_1get_1parent JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1frame_1get_1parent) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1frame_1get_1parent_FUNC); /* rc = (jintLong)webkit_web_frame_get_parent(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_frame_get_parent) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1frame_1get_1parent_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1frame_1get_1title JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1frame_1get_1title) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1frame_1get_1title_FUNC); /* rc = (jintLong)webkit_web_frame_get_title(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_frame_get_title) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1frame_1get_1title_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1frame_1get_1type JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1frame_1get_1type) (JNIEnv *env, jclass that) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1frame_1get_1type_FUNC); /* rc = (jintLong)webkit_web_frame_get_type(); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_frame_get_type) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)())fp)(); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1frame_1get_1type_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1frame_1get_1uri JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1frame_1get_1uri) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1frame_1get_1uri_FUNC); /* rc = (jintLong)webkit_web_frame_get_uri(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_frame_get_uri) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1frame_1get_1uri_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1frame_1get_1web_1view JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1frame_1get_1web_1view) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1frame_1get_1web_1view_FUNC); /* rc = (jintLong)webkit_web_frame_get_web_view(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_frame_get_web_view) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1frame_1get_1web_1view_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1policy_1decision_1download JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1web_1policy_1decision_1download) (JNIEnv *env, jclass that, jintLong arg0) { WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1policy_1decision_1download_FUNC); /* webkit_web_policy_decision_download(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_policy_decision_download) if (fp) { ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1policy_1decision_1download_FUNC); } #endif #ifndef NO__1webkit_1web_1policy_1decision_1ignore JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1web_1policy_1decision_1ignore) (JNIEnv *env, jclass that, jintLong arg0) { WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1policy_1decision_1ignore_FUNC); /* webkit_web_policy_decision_ignore(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_policy_decision_ignore) if (fp) { ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1policy_1decision_1ignore_FUNC); } #endif #ifndef NO__1webkit_1web_1view_1can_1go_1back JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1can_1go_1back) (JNIEnv *env, jclass that, jintLong arg0) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1can_1go_1back_FUNC); /* rc = (jint)webkit_web_view_can_go_back(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_can_go_back) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1can_1go_1back_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1view_1can_1go_1forward JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1can_1go_1forward) (JNIEnv *env, jclass that, jintLong arg0) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1can_1go_1forward_FUNC); /* rc = (jint)webkit_web_view_can_go_forward(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_can_go_forward) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1can_1go_1forward_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1view_1can_1show_1mime_1type JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1can_1show_1mime_1type) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1can_1show_1mime_1type_FUNC); /* rc = (jint)webkit_web_view_can_show_mime_type(arg0, arg1); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_can_show_mime_type) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1can_1show_1mime_1type_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1view_1execute_1script JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1execute_1script) (JNIEnv *env, jclass that, jintLong arg0, jbyteArray arg1) { jbyte *lparg1=NULL; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1execute_1script_FUNC); if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; /* webkit_web_view_execute_script(arg0, lparg1); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_execute_script) if (fp) { ((void (CALLING_CONVENTION*)(jintLong, jbyte *))fp)(arg0, lparg1); } } fail: if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1execute_1script_FUNC); } #endif #ifndef NO__1webkit_1web_1view_1get_1dom_1document JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1get_1dom_1document) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1get_1dom_1document_FUNC); /* rc = (jintLong)webkit_web_view_get_dom_document(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_get_dom_document) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1get_1dom_1document_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1view_1get_1load_1status JNIEXPORT jint JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1get_1load_1status) (JNIEnv *env, jclass that, jintLong arg0) { jint rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1get_1load_1status_FUNC); /* rc = (jint)webkit_web_view_get_load_status(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_get_load_status) if (fp) { rc = (jint)((jint (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1get_1load_1status_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1view_1get_1main_1frame JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1get_1main_1frame) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1get_1main_1frame_FUNC); /* rc = (jintLong)webkit_web_view_get_main_frame(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_get_main_frame) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1get_1main_1frame_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1view_1get_1progress JNIEXPORT jdouble JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1get_1progress) (JNIEnv *env, jclass that, jintLong arg0) { jdouble rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1get_1progress_FUNC); /* rc = (jdouble)webkit_web_view_get_progress(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_get_progress) if (fp) { rc = (jdouble)((jdouble (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1get_1progress_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1view_1get_1settings JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1get_1settings) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1get_1settings_FUNC); /* rc = (jintLong)webkit_web_view_get_settings(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_get_settings) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1get_1settings_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1view_1get_1title JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1get_1title) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1get_1title_FUNC); /* rc = (jintLong)webkit_web_view_get_title(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_get_title) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1get_1title_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1view_1get_1type JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1get_1type) (JNIEnv *env, jclass that) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1get_1type_FUNC); /* rc = (jintLong)webkit_web_view_get_type(); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_get_type) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)())fp)(); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1get_1type_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1view_1get_1uri JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1get_1uri) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1get_1uri_FUNC); /* rc = (jintLong)webkit_web_view_get_uri(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_get_uri) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1get_1uri_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1view_1get_1window_1features JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1get_1window_1features) (JNIEnv *env, jclass that, jintLong arg0) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1get_1window_1features_FUNC); /* rc = (jintLong)webkit_web_view_get_window_features(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_get_window_features) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1get_1window_1features_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1view_1go_1back JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1go_1back) (JNIEnv *env, jclass that, jintLong arg0) { WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1go_1back_FUNC); /* webkit_web_view_go_back(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_go_back) if (fp) { ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1go_1back_FUNC); } #endif #ifndef NO__1webkit_1web_1view_1go_1forward JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1go_1forward) (JNIEnv *env, jclass that, jintLong arg0) { WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1go_1forward_FUNC); /* webkit_web_view_go_forward(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_go_forward) if (fp) { ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1go_1forward_FUNC); } #endif #ifndef NO__1webkit_1web_1view_1load_1string JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1load_1string) (JNIEnv *env, jclass that, jintLong arg0, jbyteArray arg1, jbyteArray arg2, jbyteArray arg3, jbyteArray arg4) { jbyte *lparg1=NULL; jbyte *lparg2=NULL; jbyte *lparg3=NULL; jbyte *lparg4=NULL; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1load_1string_FUNC); if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; if (arg2) if ((lparg2 = (*env)->GetByteArrayElements(env, arg2, NULL)) == NULL) goto fail; if (arg3) if ((lparg3 = (*env)->GetByteArrayElements(env, arg3, NULL)) == NULL) goto fail; if (arg4) if ((lparg4 = (*env)->GetByteArrayElements(env, arg4, NULL)) == NULL) goto fail; /* webkit_web_view_load_string(arg0, lparg1, lparg2, lparg3, lparg4); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_load_string) if (fp) { ((void (CALLING_CONVENTION*)(jintLong, jbyte *, jbyte *, jbyte *, jbyte *))fp)(arg0, lparg1, lparg2, lparg3, lparg4); } } fail: if (arg4 && lparg4) (*env)->ReleaseByteArrayElements(env, arg4, lparg4, 0); if (arg3 && lparg3) (*env)->ReleaseByteArrayElements(env, arg3, lparg3, 0); if (arg2 && lparg2) (*env)->ReleaseByteArrayElements(env, arg2, lparg2, 0); if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1load_1string_FUNC); } #endif #ifndef NO__1webkit_1web_1view_1load_1uri JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1load_1uri) (JNIEnv *env, jclass that, jintLong arg0, jbyteArray arg1) { jbyte *lparg1=NULL; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1load_1uri_FUNC); if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; /* webkit_web_view_load_uri(arg0, lparg1); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_load_uri) if (fp) { ((void (CALLING_CONVENTION*)(jintLong, jbyte *))fp)(arg0, lparg1); } } fail: if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1load_1uri_FUNC); } #endif #ifndef NO__1webkit_1web_1view_1new JNIEXPORT jintLong JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1new) (JNIEnv *env, jclass that) { jintLong rc = 0; WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1new_FUNC); /* rc = (jintLong)webkit_web_view_new(); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_new) if (fp) { rc = (jintLong)((jintLong (CALLING_CONVENTION*)())fp)(); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1new_FUNC); return rc; } #endif #ifndef NO__1webkit_1web_1view_1reload JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1reload) (JNIEnv *env, jclass that, jintLong arg0) { WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1reload_FUNC); /* webkit_web_view_reload(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_reload) if (fp) { ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1reload_FUNC); } #endif #ifndef NO__1webkit_1web_1view_1stop_1loading JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1web_1view_1stop_1loading) (JNIEnv *env, jclass that, jintLong arg0) { WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1view_1stop_1loading_FUNC); /* webkit_web_view_stop_loading(arg0); */ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_view_stop_loading) if (fp) { ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1view_1stop_1loading_FUNC); } #endif #ifndef NO_memmove JNIEXPORT void JNICALL WebKitGTK_NATIVE(memmove) (JNIEnv *env, jclass that, jintLong arg0, jobject arg1, jintLong arg2) { JSClassDefinition _arg1, *lparg1=NULL; WebKitGTK_NATIVE_ENTER(env, that, memmove_FUNC); if (arg1) if ((lparg1 = getJSClassDefinitionFields(env, arg1, &_arg1)) == NULL) goto fail; memmove((void *)arg0, (const void *)lparg1, (size_t)arg2); fail: WebKitGTK_NATIVE_EXIT(env, that, memmove_FUNC); } #endif