예제 #1
0
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;

}
예제 #2
0
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;
}
예제 #3
0
gboolean
webkit_dom_test_callback_callback_with_class1param(WebKitDOMTestCallback* self, WebKitDOMClass1* class1Param)
{
#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(class1Param, 0);
    WebCore::Class1* convertedClass1Param = 0;
    if (class1Param) {
        convertedClass1Param = WebKit::core(class1Param);
        g_return_val_if_fail(convertedClass1Param, 0);
    }
    gboolean result = item->callbackWithClass1Param(convertedClass1Param);
    return result;
#else
    WEBKIT_WARN_FEATURE_NOT_PRESENT("SQL Database")
    return static_cast<gboolean>(0);
#endif /* ENABLE(SQL_DATABASE) */
}