Changeset 60558 in webkit
- Timestamp:
- Jun 2, 2010 4:14:37 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r60555 r60558 1 2010-06-02 Xan Lopez <xlopez@igalia.com> 2 3 Reviewed by Gustavo Noronha. 4 5 [GTK] Style fixes for the generated code in DOM bindings 6 https://bugs.webkit.org/show_bug.cgi?id=39949 7 8 Get rid of extra spaces and wrong indentation in the generated 9 code. 10 11 * bindings/scripts/CodeGeneratorGObject.pm: 12 * bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp: 13 (webkit_dom_test_callback_callback_with_class1param): 14 (webkit_dom_test_callback_callback_with_class2param): 15 (webkit_dom_test_callback_callback_with_non_bool_return_type): 16 (webkit_dom_test_callback_set_property): 17 (webkit_dom_test_callback_get_property): 18 * bindings/scripts/test/GObject/WebKitDOMTestCallback.h: 19 * bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp: 20 (webkit_dom_test_interface_set_property): 21 (webkit_dom_test_interface_get_property): 22 * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp: 23 (webkit_dom_test_obj_void_method): 24 (webkit_dom_test_obj_void_method_with_args): 25 (webkit_dom_test_obj_int_method): 26 (webkit_dom_test_obj_int_method_with_args): 27 (webkit_dom_test_obj_obj_method): 28 (webkit_dom_test_obj_obj_method_with_args): 29 (webkit_dom_test_obj_method_that_requires_all_args): 30 (webkit_dom_test_obj_method_that_requires_all_args_and_throws): 31 (webkit_dom_test_obj_serialized_value): 32 (webkit_dom_test_obj_method_with_exception): 33 (webkit_dom_test_obj_with_dynamic_frame): 34 (webkit_dom_test_obj_with_dynamic_frame_and_arg): 35 (webkit_dom_test_obj_with_dynamic_frame_and_optional_arg): 36 (webkit_dom_test_obj_with_dynamic_frame_and_user_gesture): 37 (webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad): 38 (webkit_dom_test_obj_with_script_state_void): 39 (webkit_dom_test_obj_with_script_state_obj): 40 (webkit_dom_test_obj_with_script_state_void_exception): 41 (webkit_dom_test_obj_with_script_state_obj_exception): 42 (webkit_dom_test_obj_method_with_optional_arg): 43 (webkit_dom_test_obj_method_with_non_optional_arg_and_optional_arg): 44 (webkit_dom_test_obj_method_with_non_optional_arg_and_two_optional_args): 45 (webkit_dom_test_obj_get_read_only_int_attr): 46 (webkit_dom_test_obj_get_read_only_string_attr): 47 (webkit_dom_test_obj_get_read_only_test_obj_attr): 48 (webkit_dom_test_obj_get_int_attr): 49 (webkit_dom_test_obj_set_int_attr): 50 (webkit_dom_test_obj_get_long_long_attr): 51 (webkit_dom_test_obj_set_long_long_attr): 52 (webkit_dom_test_obj_get_unsigned_long_long_attr): 53 (webkit_dom_test_obj_set_unsigned_long_long_attr): 54 (webkit_dom_test_obj_get_string_attr): 55 (webkit_dom_test_obj_set_string_attr): 56 (webkit_dom_test_obj_get_test_obj_attr): 57 (webkit_dom_test_obj_set_test_obj_attr): 58 (webkit_dom_test_obj_get_attr_with_exception): 59 (webkit_dom_test_obj_set_attr_with_exception): 60 (webkit_dom_test_obj_get_attr_with_setter_exception): 61 (webkit_dom_test_obj_set_attr_with_setter_exception): 62 (webkit_dom_test_obj_get_attr_with_getter_exception): 63 (webkit_dom_test_obj_set_attr_with_getter_exception): 64 (webkit_dom_test_obj_get_script_string_attr): 65 (webkit_dom_test_obj_set_property): 66 (webkit_dom_test_obj_get_property): 67 (webkit_dom_test_obj_class_init): 68 * bindings/scripts/test/GObject/WebKitDOMTestObj.h: 69 1 70 2010-06-02 Andrey Kosyakov <caseq@chromium.org> 2 71 -
trunk/WebCore/bindings/scripts/CodeGeneratorGObject.pm
r60229 r60558 363 363 364 364 if (grep {$_ eq $attribute} @writeableProperties) { 365 push(@txtSetProps, " case ${propEnum}:\n {\n");365 push(@txtSetProps, " case ${propEnum}:\n {\n"); 366 366 push(@txtSetProps, " WebCore::ExceptionCode ec = 0;\n") if @{$attribute->setterExceptions}; 367 367 push(@txtSetProps, " ${setterContentHead}"); … … 371 371 } 372 372 373 push(@txtGetProps, " case ${propEnum}:\n {\n");373 push(@txtGetProps, " case ${propEnum}:\n {\n"); 374 374 375 375 my $exception = ""; … … 549 549 if (scalar @writeableProperties > 0) { 550 550 $txtSetProps = << "EOF"; 551 ${className} *self = WEBKIT_DOM_${clsCaps}(object);551 ${className}* self = WEBKIT_DOM_${clsCaps}(object); 552 552 $privFunction 553 553 EOF … … 587 587 EOF 588 588 push(@txtSetProps, $txtSetProps); 589 590 # Do not insert extra spaces when interpolating array variables 591 $" = ""; 589 592 590 593 $implContent = << "EOF"; … … 748 751 my $returnValueIsGDOMType = IsGDOMClassType($functionSigType); 749 752 750 my $functionSig = "$ className *self";753 my $functionSig = "${className}* self"; 751 754 752 755 my $callImplParams = ""; … … 800 803 } 801 804 802 push(@hBody, "WEBKIT_API $returnType\n$functionName 803 push(@cBody, "$returnType\n$functionName 805 push(@hBody, "WEBKIT_API $returnType\n$functionName($functionSig);\n\n"); 806 push(@cBody, "$returnType\n$functionName($functionSig)\n{\n"); 804 807 805 808 if ($conditionalMethods{$functionName}) { … … 970 973 } 971 974 972 push(@cBody, " \n}\n\n");975 push(@cBody, "}\n\n"); 973 976 } 974 977 -
trunk/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp
r60225 r60558 54 54 55 55 gboolean 56 webkit_dom_test_callback_callback_with_class1param (WebKitDOMTestCallback *self, WebKitDOMClass1* class1param)56 webkit_dom_test_callback_callback_with_class1param(WebKitDOMTestCallback* self, WebKitDOMClass1* class1param) 57 57 { 58 58 g_return_val_if_fail (self, 0); … … 63 63 gboolean res = item->callbackWithClass1Param(_g_class1param); 64 64 return res; 65 66 65 } 67 66 68 67 gboolean 69 webkit_dom_test_callback_callback_with_class2param (WebKitDOMTestCallback *self, WebKitDOMClass2* class2param, gchar* str_arg)68 webkit_dom_test_callback_callback_with_class2param(WebKitDOMTestCallback* self, WebKitDOMClass2* class2param, gchar* str_arg) 70 69 { 71 70 g_return_val_if_fail (self, 0); … … 78 77 gboolean res = item->callbackWithClass2Param(_g_class2param, _g_str_arg); 79 78 return res; 80 81 79 } 82 80 83 81 glong 84 webkit_dom_test_callback_callback_with_non_bool_return_type (WebKitDOMTestCallback *self, WebKitDOMClass3* class3param)82 webkit_dom_test_callback_callback_with_non_bool_return_type(WebKitDOMTestCallback* self, WebKitDOMClass3* class3param) 85 83 { 86 84 g_return_val_if_fail (self, 0); … … 91 89 glong res = item->callbackWithNonBoolReturnType(_g_class3param); 92 90 return res; 93 94 91 } 95 92 … … 133 130 static void webkit_dom_test_callback_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec) 134 131 { 135 136 132 switch (prop_id) { 133 default: 137 134 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); 138 135 break; … … 143 140 static void webkit_dom_test_callback_get_property(GObject* object, guint prop_id, GValue* value, GParamSpec* pspec) 144 141 { 145 146 142 switch (prop_id) { 143 default: 147 144 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); 148 145 break; -
trunk/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.h
r58808 r60558 48 48 49 49 WEBKIT_API gboolean 50 webkit_dom_test_callback_callback_with_class1param (WebKitDOMTestCallback *self, WebKitDOMClass1* class1param);50 webkit_dom_test_callback_callback_with_class1param(WebKitDOMTestCallback* self, WebKitDOMClass1* class1param); 51 51 52 52 WEBKIT_API gboolean 53 webkit_dom_test_callback_callback_with_class2param (WebKitDOMTestCallback *self, WebKitDOMClass2* class2param, gchar* str_arg);53 webkit_dom_test_callback_callback_with_class2param(WebKitDOMTestCallback* self, WebKitDOMClass2* class2param, gchar* str_arg); 54 54 55 55 WEBKIT_API glong 56 webkit_dom_test_callback_callback_with_non_bool_return_type (WebKitDOMTestCallback *self, WebKitDOMClass3* class3param);56 webkit_dom_test_callback_callback_with_non_bool_return_type(WebKitDOMTestCallback* self, WebKitDOMClass3* class3param); 57 57 58 58 G_END_DECLS -
trunk/WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp
r60225 r60558 86 86 static void webkit_dom_test_interface_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec) 87 87 { 88 89 88 switch (prop_id) { 89 default: 90 90 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); 91 91 break; … … 96 96 static void webkit_dom_test_interface_get_property(GObject* object, guint prop_id, GValue* value, GParamSpec* pspec) 97 97 { 98 99 98 switch (prop_id) { 99 default: 100 100 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); 101 101 break; -
trunk/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp
r60225 r60558 50 50 51 51 void 52 webkit_dom_test_obj_void_method (WebKitDOMTestObj *self)52 webkit_dom_test_obj_void_method(WebKitDOMTestObj* self) 53 53 { 54 54 g_return_if_fail (self); 55 55 WebCore::TestObj * item = WebKit::core(self); 56 56 item->voidMethod(); 57 58 } 59 60 void 61 webkit_dom_test_obj_void_method_with_args (WebKitDOMTestObj *self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg) 57 } 58 59 void 60 webkit_dom_test_obj_void_method_with_args(WebKitDOMTestObj* self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg) 62 61 { 63 62 g_return_if_fail (self); … … 69 68 g_return_if_fail (_g_obj_arg); 70 69 item->voidMethodWithArgs(int_arg, _g_str_arg, _g_obj_arg); 71 72 70 } 73 71 74 72 glong 75 webkit_dom_test_obj_int_method (WebKitDOMTestObj *self)73 webkit_dom_test_obj_int_method(WebKitDOMTestObj* self) 76 74 { 77 75 g_return_val_if_fail (self, 0); … … 79 77 glong res = item->intMethod(); 80 78 return res; 81 82 79 } 83 80 84 81 glong 85 webkit_dom_test_obj_int_method_with_args (WebKitDOMTestObj *self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg)82 webkit_dom_test_obj_int_method_with_args(WebKitDOMTestObj* self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg) 86 83 { 87 84 g_return_val_if_fail (self, 0); … … 94 91 glong res = item->intMethodWithArgs(int_arg, _g_str_arg, _g_obj_arg); 95 92 return res; 96 97 93 } 98 94 99 95 WebKitDOMTestObj* 100 webkit_dom_test_obj_obj_method (WebKitDOMTestObj *self)96 webkit_dom_test_obj_obj_method(WebKitDOMTestObj* self) 101 97 { 102 98 g_return_val_if_fail (self, 0); … … 105 101 WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get())); 106 102 return res; 107 108 103 } 109 104 110 105 WebKitDOMTestObj* 111 webkit_dom_test_obj_obj_method_with_args (WebKitDOMTestObj *self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg)106 webkit_dom_test_obj_obj_method_with_args(WebKitDOMTestObj* self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg) 112 107 { 113 108 g_return_val_if_fail (self, 0); … … 121 116 WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get())); 122 117 return res; 123 124 118 } 125 119 126 120 WebKitDOMTestObj* 127 webkit_dom_test_obj_method_that_requires_all_args (WebKitDOMTestObj *self, gchar* str_arg, WebKitDOMTestObj* obj_arg)121 webkit_dom_test_obj_method_that_requires_all_args(WebKitDOMTestObj* self, gchar* str_arg, WebKitDOMTestObj* obj_arg) 128 122 { 129 123 g_return_val_if_fail (self, 0); … … 137 131 WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get())); 138 132 return res; 139 140 133 } 141 134 142 135 WebKitDOMTestObj* 143 webkit_dom_test_obj_method_that_requires_all_args_and_throws (WebKitDOMTestObj *self, gchar* str_arg, WebKitDOMTestObj* obj_arg, GError **error)136 webkit_dom_test_obj_method_that_requires_all_args_and_throws(WebKitDOMTestObj* self, gchar* str_arg, WebKitDOMTestObj* obj_arg, GError **error) 144 137 { 145 138 g_return_val_if_fail (self, 0); … … 159 152 WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get())); 160 153 return res; 161 162 } 163 164 void 165 webkit_dom_test_obj_serialized_value (WebKitDOMTestObj *self, WebKitDOMSerializedScriptValue* serialized_arg) 154 } 155 156 void 157 webkit_dom_test_obj_serialized_value(WebKitDOMTestObj* self, WebKitDOMSerializedScriptValue* serialized_arg) 166 158 { 167 159 g_return_if_fail (self); … … 171 163 g_return_if_fail (_g_serialized_arg); 172 164 item->serializedValue(_g_serialized_arg); 173 174 } 175 176 void 177 webkit_dom_test_obj_method_with_exception (WebKitDOMTestObj *self, GError **error) 165 } 166 167 void 168 webkit_dom_test_obj_method_with_exception(WebKitDOMTestObj* self, GError **error) 178 169 { 179 170 g_return_if_fail (self); … … 186 177 g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name); 187 178 } 188 189 179 } 190 180 … … 196 186 197 187 void 198 webkit_dom_test_obj_with_dynamic_frame (WebKitDOMTestObj *self)188 webkit_dom_test_obj_with_dynamic_frame(WebKitDOMTestObj* self) 199 189 { 200 190 g_return_if_fail (self); 201 191 WebCore::TestObj * item = WebKit::core(self); 202 192 item->withDynamicFrame(); 203 204 } 205 206 void 207 webkit_dom_test_obj_with_dynamic_frame_and_arg (WebKitDOMTestObj *self, glong int_arg) 193 } 194 195 void 196 webkit_dom_test_obj_with_dynamic_frame_and_arg(WebKitDOMTestObj* self, glong int_arg) 208 197 { 209 198 g_return_if_fail (self); 210 199 WebCore::TestObj * item = WebKit::core(self); 211 200 item->withDynamicFrameAndArg(int_arg); 212 213 } 214 215 void 216 webkit_dom_test_obj_with_dynamic_frame_and_optional_arg (WebKitDOMTestObj *self, glong int_arg, glong optional_arg) 201 } 202 203 void 204 webkit_dom_test_obj_with_dynamic_frame_and_optional_arg(WebKitDOMTestObj* self, glong int_arg, glong optional_arg) 217 205 { 218 206 g_return_if_fail (self); 219 207 WebCore::TestObj * item = WebKit::core(self); 220 208 item->withDynamicFrameAndOptionalArg(int_arg, optional_arg); 221 222 } 223 224 void 225 webkit_dom_test_obj_with_dynamic_frame_and_user_gesture (WebKitDOMTestObj *self, glong int_arg) 209 } 210 211 void 212 webkit_dom_test_obj_with_dynamic_frame_and_user_gesture(WebKitDOMTestObj* self, glong int_arg) 226 213 { 227 214 g_return_if_fail (self); 228 215 WebCore::TestObj * item = WebKit::core(self); 229 216 item->withDynamicFrameAndUserGesture(int_arg); 230 231 } 232 233 void 234 webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad (WebKitDOMTestObj *self, glong int_arg, glong optional_arg) 217 } 218 219 void 220 webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad(WebKitDOMTestObj* self, glong int_arg, glong optional_arg) 235 221 { 236 222 g_return_if_fail (self); 237 223 WebCore::TestObj * item = WebKit::core(self); 238 224 item->withDynamicFrameAndUserGestureASAD(int_arg, optional_arg); 239 240 } 241 242 void 243 webkit_dom_test_obj_with_script_state_void (WebKitDOMTestObj *self) 225 } 226 227 void 228 webkit_dom_test_obj_with_script_state_void(WebKitDOMTestObj* self) 244 229 { 245 230 g_return_if_fail (self); 246 231 WebCore::TestObj * item = WebKit::core(self); 247 232 item->withScriptStateVoid(); 248 249 233 } 250 234 251 235 WebKitDOMTestObj* 252 webkit_dom_test_obj_with_script_state_obj (WebKitDOMTestObj *self)236 webkit_dom_test_obj_with_script_state_obj(WebKitDOMTestObj* self) 253 237 { 254 238 g_return_val_if_fail (self, 0); … … 257 241 WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get())); 258 242 return res; 259 260 } 261 262 void 263 webkit_dom_test_obj_with_script_state_void_exception (WebKitDOMTestObj *self, GError **error) 243 } 244 245 void 246 webkit_dom_test_obj_with_script_state_void_exception(WebKitDOMTestObj* self, GError **error) 264 247 { 265 248 g_return_if_fail (self); … … 272 255 g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name); 273 256 } 274 275 257 } 276 258 277 259 WebKitDOMTestObj* 278 webkit_dom_test_obj_with_script_state_obj_exception (WebKitDOMTestObj *self, GError **error)260 webkit_dom_test_obj_with_script_state_obj_exception(WebKitDOMTestObj* self, GError **error) 279 261 { 280 262 g_return_val_if_fail (self, 0); … … 289 271 WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get())); 290 272 return res; 291 292 } 293 294 void 295 webkit_dom_test_obj_method_with_optional_arg (WebKitDOMTestObj *self, glong opt) 273 } 274 275 void 276 webkit_dom_test_obj_method_with_optional_arg(WebKitDOMTestObj* self, glong opt) 296 277 { 297 278 g_return_if_fail (self); 298 279 WebCore::TestObj * item = WebKit::core(self); 299 280 item->methodWithOptionalArg(opt); 300 301 } 302 303 void 304 webkit_dom_test_obj_method_with_non_optional_arg_and_optional_arg (WebKitDOMTestObj *self, glong non_opt, glong opt) 281 } 282 283 void 284 webkit_dom_test_obj_method_with_non_optional_arg_and_optional_arg(WebKitDOMTestObj* self, glong non_opt, glong opt) 305 285 { 306 286 g_return_if_fail (self); 307 287 WebCore::TestObj * item = WebKit::core(self); 308 288 item->methodWithNonOptionalArgAndOptionalArg(non_opt, opt); 309 310 } 311 312 void 313 webkit_dom_test_obj_method_with_non_optional_arg_and_two_optional_args (WebKitDOMTestObj *self, glong non_opt, glong opt1, glong opt2) 289 } 290 291 void 292 webkit_dom_test_obj_method_with_non_optional_arg_and_two_optional_args(WebKitDOMTestObj* self, glong non_opt, glong opt1, glong opt2) 314 293 { 315 294 g_return_if_fail (self); 316 295 WebCore::TestObj * item = WebKit::core(self); 317 296 item->methodWithNonOptionalArgAndTwoOptionalArgs(non_opt, opt1, opt2); 318 319 297 } 320 298 321 299 glong 322 webkit_dom_test_obj_get_read_only_int_attr (WebKitDOMTestObj *self)300 webkit_dom_test_obj_get_read_only_int_attr(WebKitDOMTestObj* self) 323 301 { 324 302 g_return_val_if_fail (self, 0); … … 326 304 glong res = item->readOnlyIntAttr(); 327 305 return res; 328 329 306 } 330 307 331 308 gchar* 332 webkit_dom_test_obj_get_read_only_string_attr (WebKitDOMTestObj *self)309 webkit_dom_test_obj_get_read_only_string_attr(WebKitDOMTestObj* self) 333 310 { 334 311 g_return_val_if_fail (self, 0); … … 336 313 gchar* res = convertToUTF8String(item->readOnlyStringAttr()); 337 314 return res; 338 339 315 } 340 316 341 317 WebKitDOMTestObj* 342 webkit_dom_test_obj_get_read_only_test_obj_attr (WebKitDOMTestObj *self)318 webkit_dom_test_obj_get_read_only_test_obj_attr(WebKitDOMTestObj* self) 343 319 { 344 320 g_return_val_if_fail (self, 0); … … 347 323 WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get())); 348 324 return res; 349 350 325 } 351 326 352 327 glong 353 webkit_dom_test_obj_get_int_attr (WebKitDOMTestObj *self)328 webkit_dom_test_obj_get_int_attr(WebKitDOMTestObj* self) 354 329 { 355 330 g_return_val_if_fail (self, 0); … … 357 332 glong res = item->intAttr(); 358 333 return res; 359 360 } 361 362 void 363 webkit_dom_test_obj_set_int_attr (WebKitDOMTestObj *self, glong value) 334 } 335 336 void 337 webkit_dom_test_obj_set_int_attr(WebKitDOMTestObj* self, glong value) 364 338 { 365 339 g_return_if_fail (self); 366 340 WebCore::TestObj * item = WebKit::core(self); 367 341 item->setIntAttr(value); 368 369 342 } 370 343 371 344 gint64 372 webkit_dom_test_obj_get_long_long_attr (WebKitDOMTestObj *self)345 webkit_dom_test_obj_get_long_long_attr(WebKitDOMTestObj* self) 373 346 { 374 347 g_return_val_if_fail (self, 0); … … 376 349 gint64 res = item->longLongAttr(); 377 350 return res; 378 379 } 380 381 void 382 webkit_dom_test_obj_set_long_long_attr (WebKitDOMTestObj *self, gint64 value) 351 } 352 353 void 354 webkit_dom_test_obj_set_long_long_attr(WebKitDOMTestObj* self, gint64 value) 383 355 { 384 356 g_return_if_fail (self); 385 357 WebCore::TestObj * item = WebKit::core(self); 386 358 item->setLongLongAttr(value); 387 388 359 } 389 360 390 361 guint64 391 webkit_dom_test_obj_get_unsigned_long_long_attr (WebKitDOMTestObj *self)362 webkit_dom_test_obj_get_unsigned_long_long_attr(WebKitDOMTestObj* self) 392 363 { 393 364 g_return_val_if_fail (self, 0); … … 395 366 guint64 res = item->unsignedLongLongAttr(); 396 367 return res; 397 398 } 399 400 void 401 webkit_dom_test_obj_set_unsigned_long_long_attr (WebKitDOMTestObj *self, guint64 value) 368 } 369 370 void 371 webkit_dom_test_obj_set_unsigned_long_long_attr(WebKitDOMTestObj* self, guint64 value) 402 372 { 403 373 g_return_if_fail (self); 404 374 WebCore::TestObj * item = WebKit::core(self); 405 375 item->setUnsignedLongLongAttr(value); 406 407 376 } 408 377 409 378 gchar* 410 webkit_dom_test_obj_get_string_attr (WebKitDOMTestObj *self)379 webkit_dom_test_obj_get_string_attr(WebKitDOMTestObj* self) 411 380 { 412 381 g_return_val_if_fail (self, 0); … … 414 383 gchar* res = convertToUTF8String(item->stringAttr()); 415 384 return res; 416 417 } 418 419 void 420 webkit_dom_test_obj_set_string_attr (WebKitDOMTestObj *self, gchar* value) 385 } 386 387 void 388 webkit_dom_test_obj_set_string_attr(WebKitDOMTestObj* self, gchar* value) 421 389 { 422 390 g_return_if_fail (self); … … 425 393 WebCore::String _g_value = WebCore::String::fromUTF8(value); 426 394 item->setStringAttr(_g_value); 427 428 395 } 429 396 430 397 WebKitDOMTestObj* 431 webkit_dom_test_obj_get_test_obj_attr (WebKitDOMTestObj *self)398 webkit_dom_test_obj_get_test_obj_attr(WebKitDOMTestObj* self) 432 399 { 433 400 g_return_val_if_fail (self, 0); … … 436 403 WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get())); 437 404 return res; 438 439 } 440 441 void 442 webkit_dom_test_obj_set_test_obj_attr (WebKitDOMTestObj *self, WebKitDOMTestObj* value) 405 } 406 407 void 408 webkit_dom_test_obj_set_test_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj* value) 443 409 { 444 410 g_return_if_fail (self); … … 448 414 g_return_if_fail (_g_value); 449 415 item->setTestObjAttr(_g_value); 450 451 416 } 452 417 453 418 glong 454 webkit_dom_test_obj_get_attr_with_exception (WebKitDOMTestObj *self)419 webkit_dom_test_obj_get_attr_with_exception(WebKitDOMTestObj* self) 455 420 { 456 421 g_return_val_if_fail (self, 0); … … 458 423 glong res = item->attrWithException(); 459 424 return res; 460 461 } 462 463 void 464 webkit_dom_test_obj_set_attr_with_exception (WebKitDOMTestObj *self, glong value) 425 } 426 427 void 428 webkit_dom_test_obj_set_attr_with_exception(WebKitDOMTestObj* self, glong value) 465 429 { 466 430 g_return_if_fail (self); 467 431 WebCore::TestObj * item = WebKit::core(self); 468 432 item->setAttrWithException(value); 469 470 433 } 471 434 472 435 glong 473 webkit_dom_test_obj_get_attr_with_setter_exception (WebKitDOMTestObj *self, GError **error)436 webkit_dom_test_obj_get_attr_with_setter_exception(WebKitDOMTestObj* self, GError **error) 474 437 { 475 438 g_return_val_if_fail (self, 0); … … 483 446 } 484 447 return res; 485 486 } 487 488 void 489 webkit_dom_test_obj_set_attr_with_setter_exception (WebKitDOMTestObj *self, glong value, GError **error) 448 } 449 450 void 451 webkit_dom_test_obj_set_attr_with_setter_exception(WebKitDOMTestObj* self, glong value, GError **error) 490 452 { 491 453 g_return_if_fail (self); … … 498 460 g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name); 499 461 } 500 501 462 } 502 463 503 464 glong 504 webkit_dom_test_obj_get_attr_with_getter_exception (WebKitDOMTestObj *self)465 webkit_dom_test_obj_get_attr_with_getter_exception(WebKitDOMTestObj* self) 505 466 { 506 467 g_return_val_if_fail (self, 0); … … 508 469 glong res = item->attrWithGetterException(); 509 470 return res; 510 511 } 512 513 void 514 webkit_dom_test_obj_set_attr_with_getter_exception (WebKitDOMTestObj *self, glong value, GError **error) 471 } 472 473 void 474 webkit_dom_test_obj_set_attr_with_getter_exception(WebKitDOMTestObj* self, glong value, GError **error) 515 475 { 516 476 g_return_if_fail (self); … … 523 483 g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name); 524 484 } 525 526 485 } 527 486 528 487 gchar* 529 webkit_dom_test_obj_get_script_string_attr (WebKitDOMTestObj *self)488 webkit_dom_test_obj_get_script_string_attr(WebKitDOMTestObj* self) 530 489 { 531 490 g_return_val_if_fail (self, 0); … … 533 492 gchar* res = convertToUTF8String(item->scriptStringAttr()); 534 493 return res; 535 536 494 } 537 495 … … 588 546 static void webkit_dom_test_obj_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec) 589 547 { 590 WebKitDOMTestObj *self = WEBKIT_DOM_TEST_OBJ(object);548 WebKitDOMTestObj* self = WEBKIT_DOM_TEST_OBJ(object); 591 549 WebCore::TestObj* coreSelf = WebKit::core(self); 592 550 switch (prop_id) { 593 551 case PROP_INT_ATTR: 594 552 { 595 coreSelf->setIntAttr((g_value_get_long(value)));596 553 coreSelf->setIntAttr((g_value_get_long(value))); 554 break; 597 555 } 598 556 case PROP_UNSIGNED_LONG_LONG_ATTR: 599 557 { 600 coreSelf->setUnsignedLongLongAttr((g_value_get_uint64(value)));601 558 coreSelf->setUnsignedLongLongAttr((g_value_get_uint64(value))); 559 break; 602 560 } 603 561 case PROP_STRING_ATTR: 604 562 { 605 coreSelf->setStringAttr(WebCore::String::fromUTF8(g_value_get_string(value)));606 563 coreSelf->setStringAttr(WebCore::String::fromUTF8(g_value_get_string(value))); 564 break; 607 565 } 608 566 case PROP_ATTR_WITH_EXCEPTION: 609 567 { 610 coreSelf->setAttrWithException((g_value_get_long(value)));611 568 coreSelf->setAttrWithException((g_value_get_long(value))); 569 break; 612 570 } 613 571 case PROP_ATTR_WITH_SETTER_EXCEPTION: 614 572 { 615 616 coreSelf->setAttrWithSetterException((g_value_get_long(value)) , ec);617 573 WebCore::ExceptionCode ec = 0; 574 coreSelf->setAttrWithSetterException((g_value_get_long(value)), ec); 575 break; 618 576 } 619 577 case PROP_ATTR_WITH_GETTER_EXCEPTION: 620 578 { 621 622 coreSelf->setAttrWithGetterException((g_value_get_long(value)) , ec);623 624 } 625 579 WebCore::ExceptionCode ec = 0; 580 coreSelf->setAttrWithGetterException((g_value_get_long(value)), ec); 581 break; 582 } 583 default: 626 584 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); 627 585 break; … … 632 590 static void webkit_dom_test_obj_get_property(GObject* object, guint prop_id, GValue* value, GParamSpec* pspec) 633 591 { 634 592 WebKitDOMTestObj* self = WEBKIT_DOM_TEST_OBJ(object); 635 593 WebCore::TestObj* coreSelf = WebKit::core(self); 636 594 switch (prop_id) { 637 595 case PROP_READ_ONLY_INT_ATTR: 638 596 { 639 640 597 g_value_set_long(value, coreSelf->readOnlyIntAttr()); 598 break; 641 599 } 642 600 case PROP_READ_ONLY_STRING_ATTR: 643 601 { 644 645 602 g_value_take_string(value, convertToUTF8String(coreSelf->readOnlyStringAttr())); 603 break; 646 604 } 647 605 case PROP_READ_ONLY_TEST_OBJ_ATTR: 648 606 { 649 607 RefPtr<WebCore::TestObj> ptr = coreSelf->readOnlyTestObjAttr(); 650 608 g_value_set_object(value, WebKit::kit(ptr.get())); 651 609 break; 652 610 } 653 611 case PROP_INT_ATTR: 654 612 { 655 656 613 g_value_set_long(value, coreSelf->intAttr()); 614 break; 657 615 } 658 616 case PROP_LONG_LONG_ATTR: 659 617 { 660 661 618 g_value_set_int64(value, coreSelf->longLongAttr()); 619 break; 662 620 } 663 621 case PROP_UNSIGNED_LONG_LONG_ATTR: 664 622 { 665 666 623 g_value_set_uint64(value, coreSelf->unsignedLongLongAttr()); 624 break; 667 625 } 668 626 case PROP_STRING_ATTR: 669 627 { 670 671 628 g_value_take_string(value, convertToUTF8String(coreSelf->stringAttr())); 629 break; 672 630 } 673 631 case PROP_TEST_OBJ_ATTR: 674 632 { 675 633 RefPtr<WebCore::TestObj> ptr = coreSelf->testObjAttr(); 676 634 g_value_set_object(value, WebKit::kit(ptr.get())); 677 635 break; 678 636 } 679 637 case PROP_ATTR_WITH_EXCEPTION: 680 638 { 681 682 639 g_value_set_long(value, coreSelf->attrWithException()); 640 break; 683 641 } 684 642 case PROP_ATTR_WITH_SETTER_EXCEPTION: 685 643 { 686 687 688 644 WebCore::ExceptionCode ec = 0; 645 g_value_set_long(value, coreSelf->attrWithSetterException(ec)); 646 break; 689 647 } 690 648 case PROP_ATTR_WITH_GETTER_EXCEPTION: 691 649 { 692 693 650 g_value_set_long(value, coreSelf->attrWithGetterException()); 651 break; 694 652 } 695 653 case PROP_SCRIPT_STRING_ATTR: 696 654 { 697 698 699 } 700 655 g_value_take_string(value, convertToUTF8String(coreSelf->scriptStringAttr())); 656 break; 657 } 658 default: 701 659 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); 702 660 break; … … 721 679 0, /* default */ 722 680 WEBKIT_PARAM_READABLE)); 723 681 g_object_class_install_property(gobjectClass, 724 682 PROP_READ_ONLY_STRING_ATTR, 725 683 g_param_spec_string("read-only-string-attr", /* name */ … … 728 686 "", /* default */ 729 687 WEBKIT_PARAM_READABLE)); 730 688 g_object_class_install_property(gobjectClass, 731 689 PROP_READ_ONLY_TEST_OBJ_ATTR, 732 690 g_param_spec_object("read-only-test-obj-attr", /* name */ … … 735 693 WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */ 736 694 WEBKIT_PARAM_READABLE)); 737 695 g_object_class_install_property(gobjectClass, 738 696 PROP_INT_ATTR, 739 697 g_param_spec_long("int-attr", /* name */ … … 744 702 0, /* default */ 745 703 WEBKIT_PARAM_READWRITE)); 746 704 g_object_class_install_property(gobjectClass, 747 705 PROP_LONG_LONG_ATTR, 748 706 g_param_spec_int64("long-long-attr", /* name */ … … 753 711 0, /* default */ 754 712 WEBKIT_PARAM_READWRITE)); 755 713 g_object_class_install_property(gobjectClass, 756 714 PROP_UNSIGNED_LONG_LONG_ATTR, 757 715 g_param_spec_uint64("unsigned-long-long-attr", /* name */ … … 762 720 0, /* default */ 763 721 WEBKIT_PARAM_READWRITE)); 764 722 g_object_class_install_property(gobjectClass, 765 723 PROP_STRING_ATTR, 766 724 g_param_spec_string("string-attr", /* name */ … … 769 727 "", /* default */ 770 728 WEBKIT_PARAM_READWRITE)); 771 729 g_object_class_install_property(gobjectClass, 772 730 PROP_TEST_OBJ_ATTR, 773 731 g_param_spec_object("test-obj-attr", /* name */ … … 776 734 WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */ 777 735 WEBKIT_PARAM_READWRITE)); 778 736 g_object_class_install_property(gobjectClass, 779 737 PROP_ATTR_WITH_EXCEPTION, 780 738 g_param_spec_long("attr-with-exception", /* name */ … … 785 743 0, /* default */ 786 744 WEBKIT_PARAM_READWRITE)); 787 745 g_object_class_install_property(gobjectClass, 788 746 PROP_ATTR_WITH_SETTER_EXCEPTION, 789 747 g_param_spec_long("attr-with-setter-exception", /* name */ … … 794 752 0, /* default */ 795 753 WEBKIT_PARAM_READWRITE)); 796 754 g_object_class_install_property(gobjectClass, 797 755 PROP_ATTR_WITH_GETTER_EXCEPTION, 798 756 g_param_spec_long("attr-with-getter-exception", /* name */ … … 803 761 0, /* default */ 804 762 WEBKIT_PARAM_READWRITE)); 805 763 g_object_class_install_property(gobjectClass, 806 764 PROP_SCRIPT_STRING_ATTR, 807 765 g_param_spec_string("script-string-attr", /* name */ -
trunk/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h
r59557 r60558 48 48 49 49 WEBKIT_API void 50 webkit_dom_test_obj_void_method (WebKitDOMTestObj *self);50 webkit_dom_test_obj_void_method(WebKitDOMTestObj* self); 51 51 52 52 WEBKIT_API void 53 webkit_dom_test_obj_void_method_with_args (WebKitDOMTestObj *self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg);53 webkit_dom_test_obj_void_method_with_args(WebKitDOMTestObj* self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg); 54 54 55 55 WEBKIT_API glong 56 webkit_dom_test_obj_int_method (WebKitDOMTestObj *self);56 webkit_dom_test_obj_int_method(WebKitDOMTestObj* self); 57 57 58 58 WEBKIT_API glong 59 webkit_dom_test_obj_int_method_with_args (WebKitDOMTestObj *self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg);59 webkit_dom_test_obj_int_method_with_args(WebKitDOMTestObj* self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg); 60 60 61 61 WEBKIT_API WebKitDOMTestObj* 62 webkit_dom_test_obj_obj_method (WebKitDOMTestObj *self);62 webkit_dom_test_obj_obj_method(WebKitDOMTestObj* self); 63 63 64 64 WEBKIT_API WebKitDOMTestObj* 65 webkit_dom_test_obj_obj_method_with_args (WebKitDOMTestObj *self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg);65 webkit_dom_test_obj_obj_method_with_args(WebKitDOMTestObj* self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg); 66 66 67 67 WEBKIT_API WebKitDOMTestObj* 68 webkit_dom_test_obj_method_that_requires_all_args (WebKitDOMTestObj *self, gchar* str_arg, WebKitDOMTestObj* obj_arg);68 webkit_dom_test_obj_method_that_requires_all_args(WebKitDOMTestObj* self, gchar* str_arg, WebKitDOMTestObj* obj_arg); 69 69 70 70 WEBKIT_API WebKitDOMTestObj* 71 webkit_dom_test_obj_method_that_requires_all_args_and_throws (WebKitDOMTestObj *self, gchar* str_arg, WebKitDOMTestObj* obj_arg, GError **error);71 webkit_dom_test_obj_method_that_requires_all_args_and_throws(WebKitDOMTestObj* self, gchar* str_arg, WebKitDOMTestObj* obj_arg, GError **error); 72 72 73 73 WEBKIT_API void 74 webkit_dom_test_obj_serialized_value (WebKitDOMTestObj *self, WebKitDOMSerializedScriptValue* serialized_arg);74 webkit_dom_test_obj_serialized_value(WebKitDOMTestObj* self, WebKitDOMSerializedScriptValue* serialized_arg); 75 75 76 76 WEBKIT_API void 77 webkit_dom_test_obj_method_with_exception (WebKitDOMTestObj *self, GError **error);77 webkit_dom_test_obj_method_with_exception(WebKitDOMTestObj* self, GError **error); 78 78 79 79 … … 84 84 85 85 WEBKIT_API void 86 webkit_dom_test_obj_with_dynamic_frame (WebKitDOMTestObj *self);86 webkit_dom_test_obj_with_dynamic_frame(WebKitDOMTestObj* self); 87 87 88 88 WEBKIT_API void 89 webkit_dom_test_obj_with_dynamic_frame_and_arg (WebKitDOMTestObj *self, glong int_arg);89 webkit_dom_test_obj_with_dynamic_frame_and_arg(WebKitDOMTestObj* self, glong int_arg); 90 90 91 91 WEBKIT_API void 92 webkit_dom_test_obj_with_dynamic_frame_and_optional_arg (WebKitDOMTestObj *self, glong int_arg, glong optional_arg);92 webkit_dom_test_obj_with_dynamic_frame_and_optional_arg(WebKitDOMTestObj* self, glong int_arg, glong optional_arg); 93 93 94 94 WEBKIT_API void 95 webkit_dom_test_obj_with_dynamic_frame_and_user_gesture (WebKitDOMTestObj *self, glong int_arg);95 webkit_dom_test_obj_with_dynamic_frame_and_user_gesture(WebKitDOMTestObj* self, glong int_arg); 96 96 97 97 WEBKIT_API void 98 webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad (WebKitDOMTestObj *self, glong int_arg, glong optional_arg);98 webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad(WebKitDOMTestObj* self, glong int_arg, glong optional_arg); 99 99 100 100 WEBKIT_API void 101 webkit_dom_test_obj_with_script_state_void (WebKitDOMTestObj *self);101 webkit_dom_test_obj_with_script_state_void(WebKitDOMTestObj* self); 102 102 103 103 WEBKIT_API WebKitDOMTestObj* 104 webkit_dom_test_obj_with_script_state_obj (WebKitDOMTestObj *self);104 webkit_dom_test_obj_with_script_state_obj(WebKitDOMTestObj* self); 105 105 106 106 WEBKIT_API void 107 webkit_dom_test_obj_with_script_state_void_exception (WebKitDOMTestObj *self, GError **error);107 webkit_dom_test_obj_with_script_state_void_exception(WebKitDOMTestObj* self, GError **error); 108 108 109 109 WEBKIT_API WebKitDOMTestObj* 110 webkit_dom_test_obj_with_script_state_obj_exception (WebKitDOMTestObj *self, GError **error);110 webkit_dom_test_obj_with_script_state_obj_exception(WebKitDOMTestObj* self, GError **error); 111 111 112 112 WEBKIT_API void 113 webkit_dom_test_obj_method_with_optional_arg (WebKitDOMTestObj *self, glong opt);113 webkit_dom_test_obj_method_with_optional_arg(WebKitDOMTestObj* self, glong opt); 114 114 115 115 WEBKIT_API void 116 webkit_dom_test_obj_method_with_non_optional_arg_and_optional_arg (WebKitDOMTestObj *self, glong non_opt, glong opt);116 webkit_dom_test_obj_method_with_non_optional_arg_and_optional_arg(WebKitDOMTestObj* self, glong non_opt, glong opt); 117 117 118 118 WEBKIT_API void 119 webkit_dom_test_obj_method_with_non_optional_arg_and_two_optional_args (WebKitDOMTestObj *self, glong non_opt, glong opt1, glong opt2);119 webkit_dom_test_obj_method_with_non_optional_arg_and_two_optional_args(WebKitDOMTestObj* self, glong non_opt, glong opt1, glong opt2); 120 120 121 121 WEBKIT_API glong 122 webkit_dom_test_obj_get_read_only_int_attr (WebKitDOMTestObj *self);122 webkit_dom_test_obj_get_read_only_int_attr(WebKitDOMTestObj* self); 123 123 124 124 WEBKIT_API gchar* 125 webkit_dom_test_obj_get_read_only_string_attr (WebKitDOMTestObj *self);125 webkit_dom_test_obj_get_read_only_string_attr(WebKitDOMTestObj* self); 126 126 127 127 WEBKIT_API WebKitDOMTestObj* 128 webkit_dom_test_obj_get_read_only_test_obj_attr (WebKitDOMTestObj *self);128 webkit_dom_test_obj_get_read_only_test_obj_attr(WebKitDOMTestObj* self); 129 129 130 130 WEBKIT_API glong 131 webkit_dom_test_obj_get_int_attr (WebKitDOMTestObj *self);131 webkit_dom_test_obj_get_int_attr(WebKitDOMTestObj* self); 132 132 133 133 WEBKIT_API void 134 webkit_dom_test_obj_set_int_attr (WebKitDOMTestObj *self, glong value);134 webkit_dom_test_obj_set_int_attr(WebKitDOMTestObj* self, glong value); 135 135 136 136 WEBKIT_API gint64 137 webkit_dom_test_obj_get_long_long_attr (WebKitDOMTestObj *self);137 webkit_dom_test_obj_get_long_long_attr(WebKitDOMTestObj* self); 138 138 139 139 WEBKIT_API void 140 webkit_dom_test_obj_set_long_long_attr (WebKitDOMTestObj *self, gint64 value);140 webkit_dom_test_obj_set_long_long_attr(WebKitDOMTestObj* self, gint64 value); 141 141 142 142 WEBKIT_API guint64 143 webkit_dom_test_obj_get_unsigned_long_long_attr (WebKitDOMTestObj *self);143 webkit_dom_test_obj_get_unsigned_long_long_attr(WebKitDOMTestObj* self); 144 144 145 145 WEBKIT_API void 146 webkit_dom_test_obj_set_unsigned_long_long_attr (WebKitDOMTestObj *self, guint64 value);146 webkit_dom_test_obj_set_unsigned_long_long_attr(WebKitDOMTestObj* self, guint64 value); 147 147 148 148 WEBKIT_API gchar* 149 webkit_dom_test_obj_get_string_attr (WebKitDOMTestObj *self);149 webkit_dom_test_obj_get_string_attr(WebKitDOMTestObj* self); 150 150 151 151 WEBKIT_API void 152 webkit_dom_test_obj_set_string_attr (WebKitDOMTestObj *self, gchar* value);152 webkit_dom_test_obj_set_string_attr(WebKitDOMTestObj* self, gchar* value); 153 153 154 154 WEBKIT_API WebKitDOMTestObj* 155 webkit_dom_test_obj_get_test_obj_attr (WebKitDOMTestObj *self);155 webkit_dom_test_obj_get_test_obj_attr(WebKitDOMTestObj* self); 156 156 157 157 WEBKIT_API void 158 webkit_dom_test_obj_set_test_obj_attr (WebKitDOMTestObj *self, WebKitDOMTestObj* value);158 webkit_dom_test_obj_set_test_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj* value); 159 159 160 160 WEBKIT_API glong 161 webkit_dom_test_obj_get_attr_with_exception (WebKitDOMTestObj *self);161 webkit_dom_test_obj_get_attr_with_exception(WebKitDOMTestObj* self); 162 162 163 163 WEBKIT_API void 164 webkit_dom_test_obj_set_attr_with_exception (WebKitDOMTestObj *self, glong value);164 webkit_dom_test_obj_set_attr_with_exception(WebKitDOMTestObj* self, glong value); 165 165 166 166 WEBKIT_API glong 167 webkit_dom_test_obj_get_attr_with_setter_exception (WebKitDOMTestObj *self, GError **error);167 webkit_dom_test_obj_get_attr_with_setter_exception(WebKitDOMTestObj* self, GError **error); 168 168 169 169 WEBKIT_API void 170 webkit_dom_test_obj_set_attr_with_setter_exception (WebKitDOMTestObj *self, glong value, GError **error);170 webkit_dom_test_obj_set_attr_with_setter_exception(WebKitDOMTestObj* self, glong value, GError **error); 171 171 172 172 WEBKIT_API glong 173 webkit_dom_test_obj_get_attr_with_getter_exception (WebKitDOMTestObj *self);173 webkit_dom_test_obj_get_attr_with_getter_exception(WebKitDOMTestObj* self); 174 174 175 175 WEBKIT_API void 176 webkit_dom_test_obj_set_attr_with_getter_exception (WebKitDOMTestObj *self, glong value, GError **error);176 webkit_dom_test_obj_set_attr_with_getter_exception(WebKitDOMTestObj* self, glong value, GError **error); 177 177 178 178 WEBKIT_API gchar* 179 webkit_dom_test_obj_get_script_string_attr (WebKitDOMTestObj *self);179 webkit_dom_test_obj_get_script_string_attr(WebKitDOMTestObj* self); 180 180 181 181 G_END_DECLS
Note: See TracChangeset
for help on using the changeset viewer.