gboolean webkit_dom_test_callback_callback_requires_this_to_pass(WebKitDOMTestCallback* self, WebKitDOMClass8* class8Param, WebKitDOMThisClass* thisClassParam) { #if ENABLE(SQL_DATABASE) g_return_val_if_fail(self, 0); WebCore::JSMainThreadNullState state; WebCore::TestCallback* item = WebKit::core(self); g_return_val_if_fail(class8Param, 0); g_return_val_if_fail(thisClassParam, 0); WebCore::Class8* convertedClass8Param = 0; if (class8Param) { convertedClass8Param = WebKit::core(class8Param); g_return_val_if_fail(convertedClass8Param, 0); } WebCore::ThisClass* convertedThisClassParam = 0; if (thisClassParam) { convertedThisClassParam = WebKit::core(thisClassParam); g_return_val_if_fail(convertedThisClassParam, 0); } gboolean result = item->callbackRequiresThisToPass(convertedClass8Param, convertedThisClassParam); return result; #else WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database") return static_cast<gboolean>(0); #endif /* ENABLE(SQL_DATABASE) */ }
gboolean webkit_dom_test_callback_callback_with_no_param(WebKitDOMTestCallback* self) { g_return_val_if_fail(self, 0); WebCore::JSMainThreadNullState state; WebCore::TestCallback * item = WebKit::core(self); gboolean res = item->callbackWithNoParam(); return res; }
gboolean webkit_dom_test_callback_callback_with_class1param (WebKitDOMTestCallback *self, WebKitDOMClass1* class1param) { g_return_val_if_fail (self, 0); WebCore::TestCallback * item = WebKit::core(self); g_return_val_if_fail (class1param, 0); WebCore::Class1 * _g_class1param = WebKit::core(class1param); g_return_val_if_fail (_g_class1param, 0); gboolean res = item->callbackWithClass1Param(_g_class1param); return res; }
glong webkit_dom_test_callback_callback_with_non_bool_return_type (WebKitDOMTestCallback *self, WebKitDOMClass3* class3param) { g_return_val_if_fail (self, 0); WebCore::TestCallback * item = WebKit::core(self); g_return_val_if_fail (class3param, 0); WebCore::Class3 * _g_class3param = WebKit::core(class3param); g_return_val_if_fail (_g_class3param, 0); glong res = item->callbackWithNonBoolReturnType(_g_class3param); return res; }
gboolean webkit_dom_test_callback_callback_with_no_param(WebKitDOMTestCallback* self) { #if ENABLE(SQL_DATABASE) g_return_val_if_fail(self, 0); WebCore::JSMainThreadNullState state; WebCore::TestCallback* item = WebKit::core(self); gboolean result = item->callbackWithNoParam(); return result; #else WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database") return static_cast<gboolean>(0); #endif /* ENABLE(SQL_DATABASE) */ }
gboolean webkit_dom_test_callback_callback_with_boolean(WebKitDOMTestCallback* self, gboolean boolParam) { #if ENABLE(SQL_DATABASE) WebCore::JSMainThreadNullState state; g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE); WebCore::TestCallback* item = WebKit::core(self); gboolean result = item->callbackWithBoolean(boolParam); return result; #else WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database") return static_cast<gboolean>(0); #endif /* ENABLE(SQL_DATABASE) */ }
gboolean webkit_dom_test_callback_callback_with_class2param (WebKitDOMTestCallback *self, WebKitDOMClass2* class2param, gchar* str_arg) { g_return_val_if_fail (self, 0); WebCore::TestCallback * item = WebKit::core(self); g_return_val_if_fail (class2param, 0); g_return_val_if_fail (str_arg, 0); WebCore::Class2 * _g_class2param = WebKit::core(class2param); g_return_val_if_fail (_g_class2param, 0); WebCore::String _g_str_arg = WebCore::String::fromUTF8(str_arg); gboolean res = item->callbackWithClass2Param(_g_class2param, _g_str_arg); return res; }
glong webkit_dom_test_callback_callback_with_non_bool_return_type(WebKitDOMTestCallback* self, WebKitDOMClass3* class3param) { g_return_val_if_fail(self, 0); WebCore::JSMainThreadNullState state; WebCore::TestCallback * item = WebKit::core(self); g_return_val_if_fail(class3param, 0); WebCore::Class3 * converted_class3param = NULL; if (class3param != NULL) { converted_class3param = WebKit::core(class3param); g_return_val_if_fail(converted_class3param, 0); } glong res = item->callbackWithNonBoolReturnType(converted_class3param); return res; }
static void webkit_dom_test_callback_finalize(GObject* object) { WebKitDOMObject* dom_object = WEBKIT_DOM_OBJECT(object); if (dom_object->coreObject) { WebCore::TestCallback* coreObject = static_cast<WebCore::TestCallback *>(dom_object->coreObject); WebKit::DOMObjectCache::forget(coreObject); coreObject->deref(); dom_object->coreObject = NULL; } G_OBJECT_CLASS(webkit_dom_test_callback_parent_class)->finalize(object); }
gboolean webkit_dom_test_callback_callback_with_class1param(WebKitDOMTestCallback* self, WebKitDOMClass1* class1param) { g_return_val_if_fail(self, 0); WebCore::JSMainThreadNullState state; WebCore::TestCallback * item = WebKit::core(self); g_return_val_if_fail(class1param, 0); WebCore::Class1 * converted_class1param = NULL; if (class1param != NULL) { converted_class1param = WebKit::core(class1param); g_return_val_if_fail(converted_class1param, 0); } gboolean res = item->callbackWithClass1Param(converted_class1param); return res; }
gboolean webkit_dom_test_callback_callback_with_array_param(WebKitDOMTestCallback* self, WebKitDOMFloat32Array* arrayParam) { #if ENABLE(SQL_DATABASE) WebCore::JSMainThreadNullState state; g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE); g_return_val_if_fail(WEBKIT_DOM_IS_FLOAT32ARRAY(arrayParam), FALSE); WebCore::TestCallback* item = WebKit::core(self); WebCore::Float32Array* convertedArrayParam = WebKit::core(arrayParam); gboolean result = item->callbackWithArrayParam(convertedArrayParam); return result; #else WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database") return static_cast<gboolean>(0); #endif /* ENABLE(SQL_DATABASE) */ }
gboolean webkit_dom_test_callback_callback_with_string_list(WebKitDOMTestCallback* self, WebKitDOMDOMStringList* listParam) { #if ENABLE(SQL_DATABASE) WebCore::JSMainThreadNullState state; g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE); g_return_val_if_fail(WEBKIT_DOM_IS_DOM_STRING_LIST(listParam), FALSE); WebCore::TestCallback* item = WebKit::core(self); WebCore::DOMStringList* convertedListParam = WebKit::core(listParam); gboolean result = item->callbackWithStringList(convertedListParam); return result; #else WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database") return static_cast<gboolean>(0); #endif /* ENABLE(SQL_DATABASE) */ }
gboolean webkit_dom_test_callback_callback_requires_this_to_pass(WebKitDOMTestCallback* self, glong longParam, WebKitDOMTestNode* testNodeParam) { #if ENABLE(SQL_DATABASE) WebCore::JSMainThreadNullState state; g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE); g_return_val_if_fail(WEBKIT_DOM_IS_TEST_NODE(testNodeParam), FALSE); WebCore::TestCallback* item = WebKit::core(self); WebCore::TestNode* convertedTestNodeParam = WebKit::core(testNodeParam); gboolean result = item->callbackRequiresThisToPass(longParam, convertedTestNodeParam); return result; #else WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database") return static_cast<gboolean>(0); #endif /* ENABLE(SQL_DATABASE) */ }
glong webkit_dom_test_callback_callback_with_non_bool_return_type(WebKitDOMTestCallback* self, const gchar* strArg) { #if ENABLE(SQL_DATABASE) WebCore::JSMainThreadNullState state; g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), 0); g_return_val_if_fail(strArg, 0); WebCore::TestCallback* item = WebKit::core(self); WTF::String convertedStrArg = WTF::String::fromUTF8(strArg); glong result = item->callbackWithNonBoolReturnType(convertedStrArg); return result; #else WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database") return static_cast<glong>(0); #endif /* ENABLE(SQL_DATABASE) */ }
gboolean webkit_dom_test_callback_callback_with_class2param(WebKitDOMTestCallback* self, WebKitDOMClass2* class2param, const gchar* str_arg) { g_return_val_if_fail(self, 0); WebCore::JSMainThreadNullState state; WebCore::TestCallback * item = WebKit::core(self); g_return_val_if_fail(class2param, 0); g_return_val_if_fail(str_arg, 0); WebCore::Class2 * converted_class2param = NULL; if (class2param != NULL) { converted_class2param = WebKit::core(class2param); g_return_val_if_fail(converted_class2param, 0); } WTF::String converted_str_arg = WTF::String::fromUTF8(str_arg); gboolean res = item->callbackWithClass2Param(converted_class2param, converted_str_arg); return res; }
static void webkit_dom_test_callback_finalize(GObject* object) { #if ENABLE(SQL_DATABASE) WebKitDOMObject* domObject = WEBKIT_DOM_OBJECT(object); if (domObject->coreObject) { WebCore::TestCallback* coreObject = static_cast<WebCore::TestCallback*>(domObject->coreObject); WebKit::DOMObjectCache::forget(coreObject); coreObject->deref(); domObject->coreObject = 0; } #endif // ENABLE(SQL_DATABASE) G_OBJECT_CLASS(webkit_dom_test_callback_parent_class)->finalize(object); }
gboolean webkit_dom_test_callback_callback_with_serialized_script_value_param(WebKitDOMTestCallback* self, WebKitDOMSerializedScriptValue* srzParam, const gchar* strArg) { #if ENABLE(SQL_DATABASE) WebCore::JSMainThreadNullState state; g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE); g_return_val_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(srzParam), FALSE); g_return_val_if_fail(strArg, FALSE); WebCore::TestCallback* item = WebKit::core(self); WebCore::SerializedScriptValue* convertedSrzParam = WebKit::core(srzParam); WTF::String convertedStrArg = WTF::String::fromUTF8(strArg); gboolean result = item->callbackWithSerializedScriptValueParam(convertedSrzParam, convertedStrArg); return result; #else WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database") return static_cast<gboolean>(0); #endif /* ENABLE(SQL_DATABASE) */ }
glong webkit_dom_test_callback_callback_with_non_bool_return_type(WebKitDOMTestCallback* self, WebKitDOMClass3* class3Param) { #if ENABLE(SQL_DATABASE) g_return_val_if_fail(self, 0); WebCore::JSMainThreadNullState state; WebCore::TestCallback* item = WebKit::core(self); g_return_val_if_fail(class3Param, 0); WebCore::Class3* convertedClass3Param = 0; if (class3Param) { convertedClass3Param = WebKit::core(class3Param); g_return_val_if_fail(convertedClass3Param, 0); } glong result = item->callbackWithNonBoolReturnType(convertedClass3Param); return result; #else WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database") return static_cast<glong>(0); #endif /* ENABLE(SQL_DATABASE) */ }
gboolean webkit_dom_test_callback_callback_with_class2param(WebKitDOMTestCallback* self, WebKitDOMClass2* class2Param, const gchar* strArg) { #if ENABLE(SQL_DATABASE) g_return_val_if_fail(self, 0); WebCore::JSMainThreadNullState state; WebCore::TestCallback* item = WebKit::core(self); g_return_val_if_fail(class2Param, 0); g_return_val_if_fail(strArg, 0); WebCore::Class2* convertedClass2Param = 0; if (class2Param) { convertedClass2Param = WebKit::core(class2Param); g_return_val_if_fail(convertedClass2Param, 0); } WTF::String convertedStrArg = WTF::String::fromUTF8(strArg); gboolean result = item->callbackWithClass2Param(convertedClass2Param, convertedStrArg); return result; #else WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database") return static_cast<gboolean>(0); #endif /* ENABLE(SQL_DATABASE) */ }