Changeset 90841 in webkit


Ignore:
Timestamp:
Jul 12, 2011 12:41:24 PM (13 years ago)
Author:
xan@webkit.org
Message:

2011-07-12 Arno Renevier <arno@renevier.net>

[GTK] DOM bindings do not have gir annotations
https://bugs.webkit.org/show_bug.cgi?id=45395

Reviewed by Xan Lopez.

  • bindings/scripts/CodeGeneratorGObject.pm: generate introspection annotations.
  • bindings/scripts/test/GObject/WebKitDOMTestCallback.h: update for new output.
  • bindings/scripts/test/GObject/WebKitDOMTestObj.h: ditto.
  • bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h: ditto.
Location:
trunk/Source/WebCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r90839 r90841  
     12011-07-12  Arno Renevier  <arno@renevier.net>
     2
     3        [GTK] DOM bindings do not have gir annotations
     4        https://bugs.webkit.org/show_bug.cgi?id=45395
     5
     6        Reviewed by Xan Lopez.
     7
     8        * bindings/scripts/CodeGeneratorGObject.pm: generate introspection annotations.
     9        * bindings/scripts/test/GObject/WebKitDOMTestCallback.h: update for new output.
     10        * bindings/scripts/test/GObject/WebKitDOMTestObj.h: ditto.
     11        * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h: ditto.
     12
    1132011-07-12  Chris Rogers  <crogers@google.com>
    214
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm

    r81486 r90841  
    785785    }
    786786
     787    # Insert introspection annotations
     788    push(@hBody, "/**\n");
     789    push(@hBody, " * ${functionName}:\n");
     790    push(@hBody, " * \@self: A #${className}\n");
     791
     792    foreach my $param (@{$function->parameters}) {
     793        my $paramType = GetGlibTypeName($param->type);
     794        # $paramType can have a trailing * in some cases
     795        $paramType =~ s/\*$//;
     796        my $paramName = decamelize($param->name);
     797        push(@hBody, " * \@${paramName}: A #${paramType}\n");
     798    }
     799    if(@{$function->raisesExceptions}) {
     800        push(@hBody, " * \@error: #GError\n");
     801    }
     802    push(@hBody, " *\n");
     803    if (IsGDOMClassType($function->signature->type)) {
     804        push(@hBody, " * Returns: (transfer none):\n");
     805    } else {
     806        push(@hBody, " * Returns:\n");
     807    }
     808    push(@hBody, " *\n");
     809    push(@hBody, "**/\n");
     810
    787811    push(@hBody, "WEBKIT_API $returnType\n$functionName($functionSig);\n");
    788812    push(@hBody, "\n");
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.h

    r81799 r90841  
    4747webkit_dom_test_callback_get_type (void);
    4848
     49/**
     50 * webkit_dom_test_callback_callback_with_no_param:
     51 * @self: A #WebKitDOMTestCallback
     52 *
     53 * Returns:
     54 *
     55**/
    4956WEBKIT_API gboolean
    5057webkit_dom_test_callback_callback_with_no_param(WebKitDOMTestCallback* self);
    5158
     59/**
     60 * webkit_dom_test_callback_callback_with_class1param:
     61 * @self: A #WebKitDOMTestCallback
     62 * @class1param: A #WebKitDOMClass1
     63 *
     64 * Returns:
     65 *
     66**/
    5267WEBKIT_API gboolean
    5368webkit_dom_test_callback_callback_with_class1param(WebKitDOMTestCallback* self, WebKitDOMClass1* class1param);
    5469
     70/**
     71 * webkit_dom_test_callback_callback_with_class2param:
     72 * @self: A #WebKitDOMTestCallback
     73 * @class2param: A #WebKitDOMClass2
     74 * @str_arg: A #gchar
     75 *
     76 * Returns:
     77 *
     78**/
    5579WEBKIT_API gboolean
    5680webkit_dom_test_callback_callback_with_class2param(WebKitDOMTestCallback* self, WebKitDOMClass2* class2param, const gchar* str_arg);
    5781
     82/**
     83 * webkit_dom_test_callback_callback_with_non_bool_return_type:
     84 * @self: A #WebKitDOMTestCallback
     85 * @class3param: A #WebKitDOMClass3
     86 *
     87 * Returns:
     88 *
     89**/
    5890WEBKIT_API glong
    5991webkit_dom_test_callback_callback_with_non_bool_return_type(WebKitDOMTestCallback* self, WebKitDOMClass3* class3param);
    6092
     93/**
     94 * webkit_dom_test_callback_callback_with_string_list:
     95 * @self: A #WebKitDOMTestCallback
     96 * @list_param: A #WebKitDOMDOMStringList
     97 *
     98 * Returns:
     99 *
     100**/
    61101WEBKIT_API gboolean
    62102webkit_dom_test_callback_callback_with_string_list(WebKitDOMTestCallback* self, WebKitDOMDOMStringList* list_param);
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h

    r81789 r90841  
    4747webkit_dom_test_obj_get_type (void);
    4848
     49/**
     50 * webkit_dom_test_obj_void_method:
     51 * @self: A #WebKitDOMTestObj
     52 *
     53 * Returns:
     54 *
     55**/
    4956WEBKIT_API void
    5057webkit_dom_test_obj_void_method(WebKitDOMTestObj* self);
    5158
     59/**
     60 * webkit_dom_test_obj_void_method_with_args:
     61 * @self: A #WebKitDOMTestObj
     62 * @int_arg: A #glong
     63 * @str_arg: A #gchar
     64 * @obj_arg: A #WebKitDOMTestObj
     65 *
     66 * Returns:
     67 *
     68**/
    5269WEBKIT_API void
    5370webkit_dom_test_obj_void_method_with_args(WebKitDOMTestObj* self, glong int_arg, const gchar* str_arg, WebKitDOMTestObj* obj_arg);
    5471
     72/**
     73 * webkit_dom_test_obj_int_method:
     74 * @self: A #WebKitDOMTestObj
     75 *
     76 * Returns:
     77 *
     78**/
    5579WEBKIT_API glong
    5680webkit_dom_test_obj_int_method(WebKitDOMTestObj* self);
    5781
     82/**
     83 * webkit_dom_test_obj_int_method_with_args:
     84 * @self: A #WebKitDOMTestObj
     85 * @int_arg: A #glong
     86 * @str_arg: A #gchar
     87 * @obj_arg: A #WebKitDOMTestObj
     88 *
     89 * Returns:
     90 *
     91**/
    5892WEBKIT_API glong
    5993webkit_dom_test_obj_int_method_with_args(WebKitDOMTestObj* self, glong int_arg, const gchar* str_arg, WebKitDOMTestObj* obj_arg);
    6094
     95/**
     96 * webkit_dom_test_obj_obj_method:
     97 * @self: A #WebKitDOMTestObj
     98 *
     99 * Returns: (transfer none):
     100 *
     101**/
    61102WEBKIT_API WebKitDOMTestObj*
    62103webkit_dom_test_obj_obj_method(WebKitDOMTestObj* self);
    63104
     105/**
     106 * webkit_dom_test_obj_obj_method_with_args:
     107 * @self: A #WebKitDOMTestObj
     108 * @int_arg: A #glong
     109 * @str_arg: A #gchar
     110 * @obj_arg: A #WebKitDOMTestObj
     111 *
     112 * Returns: (transfer none):
     113 *
     114**/
    64115WEBKIT_API WebKitDOMTestObj*
    65116webkit_dom_test_obj_obj_method_with_args(WebKitDOMTestObj* self, glong int_arg, const gchar* str_arg, WebKitDOMTestObj* obj_arg);
    66117
     118/**
     119 * webkit_dom_test_obj_method_that_requires_all_args:
     120 * @self: A #WebKitDOMTestObj
     121 * @str_arg: A #gchar
     122 * @obj_arg: A #WebKitDOMTestObj
     123 *
     124 * Returns: (transfer none):
     125 *
     126**/
    67127WEBKIT_API WebKitDOMTestObj*
    68128webkit_dom_test_obj_method_that_requires_all_args(WebKitDOMTestObj* self, const gchar* str_arg, WebKitDOMTestObj* obj_arg);
    69129
     130/**
     131 * webkit_dom_test_obj_method_that_requires_all_args_and_throws:
     132 * @self: A #WebKitDOMTestObj
     133 * @str_arg: A #gchar
     134 * @obj_arg: A #WebKitDOMTestObj
     135 * @error: #GError
     136 *
     137 * Returns: (transfer none):
     138 *
     139**/
    70140WEBKIT_API WebKitDOMTestObj*
    71141webkit_dom_test_obj_method_that_requires_all_args_and_throws(WebKitDOMTestObj* self, const gchar* str_arg, WebKitDOMTestObj* obj_arg, GError **error);
    72142
     143/**
     144 * webkit_dom_test_obj_serialized_value:
     145 * @self: A #WebKitDOMTestObj
     146 * @serialized_arg: A #WebKitDOMSerializedScriptValue
     147 *
     148 * Returns:
     149 *
     150**/
    73151WEBKIT_API void
    74152webkit_dom_test_obj_serialized_value(WebKitDOMTestObj* self, WebKitDOMSerializedScriptValue* serialized_arg);
    75153
     154/**
     155 * webkit_dom_test_obj_idb_key:
     156 * @self: A #WebKitDOMTestObj
     157 * @key: A #WebKitDOMIDBKey
     158 *
     159 * Returns:
     160 *
     161**/
    76162WEBKIT_API void
    77163webkit_dom_test_obj_idb_key(WebKitDOMTestObj* self, WebKitDOMIDBKey* key);
    78164
     165/**
     166 * webkit_dom_test_obj_options_object:
     167 * @self: A #WebKitDOMTestObj
     168 * @oo: A #WebKitDOMOptionsObject
     169 * @ooo: A #WebKitDOMOptionsObject
     170 *
     171 * Returns:
     172 *
     173**/
    79174WEBKIT_API void
    80175webkit_dom_test_obj_options_object(WebKitDOMTestObj* self, WebKitDOMOptionsObject* oo, WebKitDOMOptionsObject* ooo);
    81176
     177/**
     178 * webkit_dom_test_obj_method_with_exception:
     179 * @self: A #WebKitDOMTestObj
     180 * @error: #GError
     181 *
     182 * Returns:
     183 *
     184**/
    82185WEBKIT_API void
    83186webkit_dom_test_obj_method_with_exception(WebKitDOMTestObj* self, GError **error);
    84187
     188/**
     189 * webkit_dom_test_obj_with_dynamic_frame:
     190 * @self: A #WebKitDOMTestObj
     191 *
     192 * Returns:
     193 *
     194**/
    85195WEBKIT_API void
    86196webkit_dom_test_obj_with_dynamic_frame(WebKitDOMTestObj* self);
    87197
     198/**
     199 * webkit_dom_test_obj_with_dynamic_frame_and_arg:
     200 * @self: A #WebKitDOMTestObj
     201 * @int_arg: A #glong
     202 *
     203 * Returns:
     204 *
     205**/
    88206WEBKIT_API void
    89207webkit_dom_test_obj_with_dynamic_frame_and_arg(WebKitDOMTestObj* self, glong int_arg);
    90208
     209/**
     210 * webkit_dom_test_obj_with_dynamic_frame_and_optional_arg:
     211 * @self: A #WebKitDOMTestObj
     212 * @int_arg: A #glong
     213 * @optional_arg: A #glong
     214 *
     215 * Returns:
     216 *
     217**/
    91218WEBKIT_API void
    92219webkit_dom_test_obj_with_dynamic_frame_and_optional_arg(WebKitDOMTestObj* self, glong int_arg, glong optional_arg);
    93220
     221/**
     222 * webkit_dom_test_obj_with_dynamic_frame_and_user_gesture:
     223 * @self: A #WebKitDOMTestObj
     224 * @int_arg: A #glong
     225 *
     226 * Returns:
     227 *
     228**/
    94229WEBKIT_API void
    95230webkit_dom_test_obj_with_dynamic_frame_and_user_gesture(WebKitDOMTestObj* self, glong int_arg, gboolean isUserGesture);
    96231
     232/**
     233 * webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad:
     234 * @self: A #WebKitDOMTestObj
     235 * @int_arg: A #glong
     236 * @optional_arg: A #glong
     237 *
     238 * Returns:
     239 *
     240**/
    97241WEBKIT_API void
    98242webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad(WebKitDOMTestObj* self, glong int_arg, glong optional_arg, gboolean isUserGesture);
    99243
     244/**
     245 * webkit_dom_test_obj_with_script_state_void:
     246 * @self: A #WebKitDOMTestObj
     247 *
     248 * Returns:
     249 *
     250**/
    100251WEBKIT_API void
    101252webkit_dom_test_obj_with_script_state_void(WebKitDOMTestObj* self);
    102253
     254/**
     255 * webkit_dom_test_obj_with_script_state_obj:
     256 * @self: A #WebKitDOMTestObj
     257 *
     258 * Returns: (transfer none):
     259 *
     260**/
    103261WEBKIT_API WebKitDOMTestObj*
    104262webkit_dom_test_obj_with_script_state_obj(WebKitDOMTestObj* self);
    105263
     264/**
     265 * webkit_dom_test_obj_with_script_state_void_exception:
     266 * @self: A #WebKitDOMTestObj
     267 * @error: #GError
     268 *
     269 * Returns:
     270 *
     271**/
    106272WEBKIT_API void
    107273webkit_dom_test_obj_with_script_state_void_exception(WebKitDOMTestObj* self, GError **error);
    108274
     275/**
     276 * webkit_dom_test_obj_with_script_state_obj_exception:
     277 * @self: A #WebKitDOMTestObj
     278 * @error: #GError
     279 *
     280 * Returns: (transfer none):
     281 *
     282**/
    109283WEBKIT_API WebKitDOMTestObj*
    110284webkit_dom_test_obj_with_script_state_obj_exception(WebKitDOMTestObj* self, GError **error);
    111285
     286/**
     287 * webkit_dom_test_obj_with_script_execution_context:
     288 * @self: A #WebKitDOMTestObj
     289 *
     290 * Returns:
     291 *
     292**/
    112293WEBKIT_API void
    113294webkit_dom_test_obj_with_script_execution_context(WebKitDOMTestObj* self);
    114295
     296/**
     297 * webkit_dom_test_obj_method_with_optional_arg:
     298 * @self: A #WebKitDOMTestObj
     299 * @opt: A #glong
     300 *
     301 * Returns:
     302 *
     303**/
    115304WEBKIT_API void
    116305webkit_dom_test_obj_method_with_optional_arg(WebKitDOMTestObj* self, glong opt);
    117306
     307/**
     308 * webkit_dom_test_obj_method_with_non_optional_arg_and_optional_arg:
     309 * @self: A #WebKitDOMTestObj
     310 * @non_opt: A #glong
     311 * @opt: A #glong
     312 *
     313 * Returns:
     314 *
     315**/
    118316WEBKIT_API void
    119317webkit_dom_test_obj_method_with_non_optional_arg_and_optional_arg(WebKitDOMTestObj* self, glong non_opt, glong opt);
    120318
     319/**
     320 * webkit_dom_test_obj_method_with_non_optional_arg_and_two_optional_args:
     321 * @self: A #WebKitDOMTestObj
     322 * @non_opt: A #glong
     323 * @opt1: A #glong
     324 * @opt2: A #glong
     325 *
     326 * Returns:
     327 *
     328**/
    121329WEBKIT_API void
    122330webkit_dom_test_obj_method_with_non_optional_arg_and_two_optional_args(WebKitDOMTestObj* self, glong non_opt, glong opt1, glong opt2);
    123331
     332/**
     333 * webkit_dom_test_obj_class_method:
     334 * @self: A #WebKitDOMTestObj
     335 *
     336 * Returns:
     337 *
     338**/
    124339WEBKIT_API void
    125340webkit_dom_test_obj_class_method(WebKitDOMTestObj* self);
    126341
     342/**
     343 * webkit_dom_test_obj_class_method_with_optional:
     344 * @self: A #WebKitDOMTestObj
     345 * @arg: A #glong
     346 *
     347 * Returns:
     348 *
     349**/
    127350WEBKIT_API glong
    128351webkit_dom_test_obj_class_method_with_optional(WebKitDOMTestObj* self, glong arg);
    129352
     353/**
     354 * webkit_dom_test_obj_get_read_only_int_attr:
     355 * @self: A #WebKitDOMTestObj
     356 *
     357 * Returns:
     358 *
     359**/
    130360WEBKIT_API glong
    131361webkit_dom_test_obj_get_read_only_int_attr(WebKitDOMTestObj* self);
    132362
     363/**
     364 * webkit_dom_test_obj_get_read_only_string_attr:
     365 * @self: A #WebKitDOMTestObj
     366 *
     367 * Returns:
     368 *
     369**/
    133370WEBKIT_API gchar*
    134371webkit_dom_test_obj_get_read_only_string_attr(WebKitDOMTestObj* self);
    135372
     373/**
     374 * webkit_dom_test_obj_get_read_only_test_obj_attr:
     375 * @self: A #WebKitDOMTestObj
     376 *
     377 * Returns: (transfer none):
     378 *
     379**/
    136380WEBKIT_API WebKitDOMTestObj*
    137381webkit_dom_test_obj_get_read_only_test_obj_attr(WebKitDOMTestObj* self);
    138382
     383/**
     384 * webkit_dom_test_obj_get_short_attr:
     385 * @self: A #WebKitDOMTestObj
     386 *
     387 * Returns:
     388 *
     389**/
    139390WEBKIT_API gshort
    140391webkit_dom_test_obj_get_short_attr(WebKitDOMTestObj* self);
    141392
     393/**
     394 * webkit_dom_test_obj_set_short_attr:
     395 * @self: A #WebKitDOMTestObj
     396 * @value: A #gshort
     397 *
     398 * Returns:
     399 *
     400**/
    142401WEBKIT_API void
    143402webkit_dom_test_obj_set_short_attr(WebKitDOMTestObj* self, gshort value);
    144403
     404/**
     405 * webkit_dom_test_obj_get_unsigned_short_attr:
     406 * @self: A #WebKitDOMTestObj
     407 *
     408 * Returns:
     409 *
     410**/
    145411WEBKIT_API gushort
    146412webkit_dom_test_obj_get_unsigned_short_attr(WebKitDOMTestObj* self);
    147413
     414/**
     415 * webkit_dom_test_obj_set_unsigned_short_attr:
     416 * @self: A #WebKitDOMTestObj
     417 * @value: A #gushort
     418 *
     419 * Returns:
     420 *
     421**/
    148422WEBKIT_API void
    149423webkit_dom_test_obj_set_unsigned_short_attr(WebKitDOMTestObj* self, gushort value);
    150424
     425/**
     426 * webkit_dom_test_obj_get_int_attr:
     427 * @self: A #WebKitDOMTestObj
     428 *
     429 * Returns:
     430 *
     431**/
    151432WEBKIT_API glong
    152433webkit_dom_test_obj_get_int_attr(WebKitDOMTestObj* self);
    153434
     435/**
     436 * webkit_dom_test_obj_set_int_attr:
     437 * @self: A #WebKitDOMTestObj
     438 * @value: A #glong
     439 *
     440 * Returns:
     441 *
     442**/
    154443WEBKIT_API void
    155444webkit_dom_test_obj_set_int_attr(WebKitDOMTestObj* self, glong value);
    156445
     446/**
     447 * webkit_dom_test_obj_get_long_long_attr:
     448 * @self: A #WebKitDOMTestObj
     449 *
     450 * Returns:
     451 *
     452**/
    157453WEBKIT_API gint64
    158454webkit_dom_test_obj_get_long_long_attr(WebKitDOMTestObj* self);
    159455
     456/**
     457 * webkit_dom_test_obj_set_long_long_attr:
     458 * @self: A #WebKitDOMTestObj
     459 * @value: A #gint64
     460 *
     461 * Returns:
     462 *
     463**/
    160464WEBKIT_API void
    161465webkit_dom_test_obj_set_long_long_attr(WebKitDOMTestObj* self, gint64 value);
    162466
     467/**
     468 * webkit_dom_test_obj_get_unsigned_long_long_attr:
     469 * @self: A #WebKitDOMTestObj
     470 *
     471 * Returns:
     472 *
     473**/
    163474WEBKIT_API guint64
    164475webkit_dom_test_obj_get_unsigned_long_long_attr(WebKitDOMTestObj* self);
    165476
     477/**
     478 * webkit_dom_test_obj_set_unsigned_long_long_attr:
     479 * @self: A #WebKitDOMTestObj
     480 * @value: A #guint64
     481 *
     482 * Returns:
     483 *
     484**/
    166485WEBKIT_API void
    167486webkit_dom_test_obj_set_unsigned_long_long_attr(WebKitDOMTestObj* self, guint64 value);
    168487
     488/**
     489 * webkit_dom_test_obj_get_string_attr:
     490 * @self: A #WebKitDOMTestObj
     491 *
     492 * Returns:
     493 *
     494**/
    169495WEBKIT_API gchar*
    170496webkit_dom_test_obj_get_string_attr(WebKitDOMTestObj* self);
    171497
     498/**
     499 * webkit_dom_test_obj_set_string_attr:
     500 * @self: A #WebKitDOMTestObj
     501 * @value: A #gchar
     502 *
     503 * Returns:
     504 *
     505**/
    172506WEBKIT_API void
    173507webkit_dom_test_obj_set_string_attr(WebKitDOMTestObj* self, const gchar* value);
    174508
     509/**
     510 * webkit_dom_test_obj_get_test_obj_attr:
     511 * @self: A #WebKitDOMTestObj
     512 *
     513 * Returns: (transfer none):
     514 *
     515**/
    175516WEBKIT_API WebKitDOMTestObj*
    176517webkit_dom_test_obj_get_test_obj_attr(WebKitDOMTestObj* self);
    177518
     519/**
     520 * webkit_dom_test_obj_set_test_obj_attr:
     521 * @self: A #WebKitDOMTestObj
     522 * @value: A #WebKitDOMTestObj
     523 *
     524 * Returns: (transfer none):
     525 *
     526**/
    178527WEBKIT_API void
    179528webkit_dom_test_obj_set_test_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj* value);
    180529
     530/**
     531 * webkit_dom_test_obj_get_xml_obj_attr:
     532 * @self: A #WebKitDOMTestObj
     533 *
     534 * Returns: (transfer none):
     535 *
     536**/
    181537WEBKIT_API WebKitDOMTestObj*
    182538webkit_dom_test_obj_get_xml_obj_attr(WebKitDOMTestObj* self);
    183539
     540/**
     541 * webkit_dom_test_obj_set_xml_obj_attr:
     542 * @self: A #WebKitDOMTestObj
     543 * @value: A #WebKitDOMTestObj
     544 *
     545 * Returns: (transfer none):
     546 *
     547**/
    184548WEBKIT_API void
    185549webkit_dom_test_obj_set_xml_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj* value);
    186550
     551/**
     552 * webkit_dom_test_obj_get_create:
     553 * @self: A #WebKitDOMTestObj
     554 *
     555 * Returns:
     556 *
     557**/
    187558WEBKIT_API gboolean
    188559webkit_dom_test_obj_get_create(WebKitDOMTestObj* self);
    189560
     561/**
     562 * webkit_dom_test_obj_set_create:
     563 * @self: A #WebKitDOMTestObj
     564 * @value: A #gboolean
     565 *
     566 * Returns:
     567 *
     568**/
    190569WEBKIT_API void
    191570webkit_dom_test_obj_set_create(WebKitDOMTestObj* self, gboolean value);
    192571
     572/**
     573 * webkit_dom_test_obj_get_reflected_string_attr:
     574 * @self: A #WebKitDOMTestObj
     575 *
     576 * Returns:
     577 *
     578**/
    193579WEBKIT_API gchar*
    194580webkit_dom_test_obj_get_reflected_string_attr(WebKitDOMTestObj* self);
    195581
     582/**
     583 * webkit_dom_test_obj_set_reflected_string_attr:
     584 * @self: A #WebKitDOMTestObj
     585 * @value: A #gchar
     586 *
     587 * Returns:
     588 *
     589**/
    196590WEBKIT_API void
    197591webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, const gchar* value);
    198592
     593/**
     594 * webkit_dom_test_obj_get_reflected_integral_attr:
     595 * @self: A #WebKitDOMTestObj
     596 *
     597 * Returns:
     598 *
     599**/
    199600WEBKIT_API glong
    200601webkit_dom_test_obj_get_reflected_integral_attr(WebKitDOMTestObj* self);
    201602
     603/**
     604 * webkit_dom_test_obj_set_reflected_integral_attr:
     605 * @self: A #WebKitDOMTestObj
     606 * @value: A #glong
     607 *
     608 * Returns:
     609 *
     610**/
    202611WEBKIT_API void
    203612webkit_dom_test_obj_set_reflected_integral_attr(WebKitDOMTestObj* self, glong value);
    204613
     614/**
     615 * webkit_dom_test_obj_get_reflected_unsigned_integral_attr:
     616 * @self: A #WebKitDOMTestObj
     617 *
     618 * Returns:
     619 *
     620**/
    205621WEBKIT_API gulong
    206622webkit_dom_test_obj_get_reflected_unsigned_integral_attr(WebKitDOMTestObj* self);
    207623
     624/**
     625 * webkit_dom_test_obj_set_reflected_unsigned_integral_attr:
     626 * @self: A #WebKitDOMTestObj
     627 * @value: A #gulong
     628 *
     629 * Returns:
     630 *
     631**/
    208632WEBKIT_API void
    209633webkit_dom_test_obj_set_reflected_unsigned_integral_attr(WebKitDOMTestObj* self, gulong value);
    210634
     635/**
     636 * webkit_dom_test_obj_get_reflected_boolean_attr:
     637 * @self: A #WebKitDOMTestObj
     638 *
     639 * Returns:
     640 *
     641**/
    211642WEBKIT_API gboolean
    212643webkit_dom_test_obj_get_reflected_boolean_attr(WebKitDOMTestObj* self);
    213644
     645/**
     646 * webkit_dom_test_obj_set_reflected_boolean_attr:
     647 * @self: A #WebKitDOMTestObj
     648 * @value: A #gboolean
     649 *
     650 * Returns:
     651 *
     652**/
    214653WEBKIT_API void
    215654webkit_dom_test_obj_set_reflected_boolean_attr(WebKitDOMTestObj* self, gboolean value);
    216655
     656/**
     657 * webkit_dom_test_obj_get_reflected_url_attr:
     658 * @self: A #WebKitDOMTestObj
     659 *
     660 * Returns:
     661 *
     662**/
    217663WEBKIT_API gchar*
    218664webkit_dom_test_obj_get_reflected_url_attr(WebKitDOMTestObj* self);
    219665
     666/**
     667 * webkit_dom_test_obj_set_reflected_url_attr:
     668 * @self: A #WebKitDOMTestObj
     669 * @value: A #gchar
     670 *
     671 * Returns:
     672 *
     673**/
    220674WEBKIT_API void
    221675webkit_dom_test_obj_set_reflected_url_attr(WebKitDOMTestObj* self, const gchar* value);
    222676
     677/**
     678 * webkit_dom_test_obj_get_reflected_non_empty_url_attr:
     679 * @self: A #WebKitDOMTestObj
     680 *
     681 * Returns:
     682 *
     683**/
    223684WEBKIT_API gchar*
    224685webkit_dom_test_obj_get_reflected_non_empty_url_attr(WebKitDOMTestObj* self);
    225686
     687/**
     688 * webkit_dom_test_obj_set_reflected_non_empty_url_attr:
     689 * @self: A #WebKitDOMTestObj
     690 * @value: A #gchar
     691 *
     692 * Returns:
     693 *
     694**/
    226695WEBKIT_API void
    227696webkit_dom_test_obj_set_reflected_non_empty_url_attr(WebKitDOMTestObj* self, const gchar* value);
    228697
     698/**
     699 * webkit_dom_test_obj_get_reflected_string_attr:
     700 * @self: A #WebKitDOMTestObj
     701 *
     702 * Returns:
     703 *
     704**/
    229705WEBKIT_API gchar*
    230706webkit_dom_test_obj_get_reflected_string_attr(WebKitDOMTestObj* self);
    231707
     708/**
     709 * webkit_dom_test_obj_set_reflected_string_attr:
     710 * @self: A #WebKitDOMTestObj
     711 * @value: A #gchar
     712 *
     713 * Returns:
     714 *
     715**/
    232716WEBKIT_API void
    233717webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, const gchar* value);
    234718
     719/**
     720 * webkit_dom_test_obj_get_reflected_custom_integral_attr:
     721 * @self: A #WebKitDOMTestObj
     722 *
     723 * Returns:
     724 *
     725**/
    235726WEBKIT_API glong
    236727webkit_dom_test_obj_get_reflected_custom_integral_attr(WebKitDOMTestObj* self);
    237728
     729/**
     730 * webkit_dom_test_obj_set_reflected_custom_integral_attr:
     731 * @self: A #WebKitDOMTestObj
     732 * @value: A #glong
     733 *
     734 * Returns:
     735 *
     736**/
    238737WEBKIT_API void
    239738webkit_dom_test_obj_set_reflected_custom_integral_attr(WebKitDOMTestObj* self, glong value);
    240739
     740/**
     741 * webkit_dom_test_obj_get_reflected_custom_boolean_attr:
     742 * @self: A #WebKitDOMTestObj
     743 *
     744 * Returns:
     745 *
     746**/
    241747WEBKIT_API gboolean
    242748webkit_dom_test_obj_get_reflected_custom_boolean_attr(WebKitDOMTestObj* self);
    243749
     750/**
     751 * webkit_dom_test_obj_set_reflected_custom_boolean_attr:
     752 * @self: A #WebKitDOMTestObj
     753 * @value: A #gboolean
     754 *
     755 * Returns:
     756 *
     757**/
    244758WEBKIT_API void
    245759webkit_dom_test_obj_set_reflected_custom_boolean_attr(WebKitDOMTestObj* self, gboolean value);
    246760
     761/**
     762 * webkit_dom_test_obj_get_reflected_custom_url_attr:
     763 * @self: A #WebKitDOMTestObj
     764 *
     765 * Returns:
     766 *
     767**/
    247768WEBKIT_API gchar*
    248769webkit_dom_test_obj_get_reflected_custom_url_attr(WebKitDOMTestObj* self);
    249770
     771/**
     772 * webkit_dom_test_obj_set_reflected_custom_url_attr:
     773 * @self: A #WebKitDOMTestObj
     774 * @value: A #gchar
     775 *
     776 * Returns:
     777 *
     778**/
    250779WEBKIT_API void
    251780webkit_dom_test_obj_set_reflected_custom_url_attr(WebKitDOMTestObj* self, const gchar* value);
    252781
     782/**
     783 * webkit_dom_test_obj_get_reflected_custom_non_empty_url_attr:
     784 * @self: A #WebKitDOMTestObj
     785 *
     786 * Returns:
     787 *
     788**/
    253789WEBKIT_API gchar*
    254790webkit_dom_test_obj_get_reflected_custom_non_empty_url_attr(WebKitDOMTestObj* self);
    255791
     792/**
     793 * webkit_dom_test_obj_set_reflected_custom_non_empty_url_attr:
     794 * @self: A #WebKitDOMTestObj
     795 * @value: A #gchar
     796 *
     797 * Returns:
     798 *
     799**/
    256800WEBKIT_API void
    257801webkit_dom_test_obj_set_reflected_custom_non_empty_url_attr(WebKitDOMTestObj* self, const gchar* value);
    258802
     803/**
     804 * webkit_dom_test_obj_get_attr_with_getter_exception:
     805 * @self: A #WebKitDOMTestObj
     806 * @error: #GError
     807 *
     808 * Returns:
     809 *
     810**/
    259811WEBKIT_API glong
    260812webkit_dom_test_obj_get_attr_with_getter_exception(WebKitDOMTestObj* self, GError **error);
    261813
     814/**
     815 * webkit_dom_test_obj_set_attr_with_getter_exception:
     816 * @self: A #WebKitDOMTestObj
     817 * @value: A #glong
     818 * @error: #GError
     819 *
     820 * Returns:
     821 *
     822**/
    262823WEBKIT_API void
    263824webkit_dom_test_obj_set_attr_with_getter_exception(WebKitDOMTestObj* self, glong value, GError **error);
    264825
     826/**
     827 * webkit_dom_test_obj_get_attr_with_setter_exception:
     828 * @self: A #WebKitDOMTestObj
     829 *
     830 * Returns:
     831 *
     832**/
    265833WEBKIT_API glong
    266834webkit_dom_test_obj_get_attr_with_setter_exception(WebKitDOMTestObj* self);
    267835
     836/**
     837 * webkit_dom_test_obj_set_attr_with_setter_exception:
     838 * @self: A #WebKitDOMTestObj
     839 * @value: A #glong
     840 * @error: #GError
     841 *
     842 * Returns:
     843 *
     844**/
    268845WEBKIT_API void
    269846webkit_dom_test_obj_set_attr_with_setter_exception(WebKitDOMTestObj* self, glong value, GError **error);
    270847
     848/**
     849 * webkit_dom_test_obj_get_string_attr_with_getter_exception:
     850 * @self: A #WebKitDOMTestObj
     851 * @error: #GError
     852 *
     853 * Returns:
     854 *
     855**/
    271856WEBKIT_API gchar*
    272857webkit_dom_test_obj_get_string_attr_with_getter_exception(WebKitDOMTestObj* self, GError **error);
    273858
     859/**
     860 * webkit_dom_test_obj_set_string_attr_with_getter_exception:
     861 * @self: A #WebKitDOMTestObj
     862 * @value: A #gchar
     863 * @error: #GError
     864 *
     865 * Returns:
     866 *
     867**/
    274868WEBKIT_API void
    275869webkit_dom_test_obj_set_string_attr_with_getter_exception(WebKitDOMTestObj* self, const gchar* value, GError **error);
    276870
     871/**
     872 * webkit_dom_test_obj_get_string_attr_with_setter_exception:
     873 * @self: A #WebKitDOMTestObj
     874 *
     875 * Returns:
     876 *
     877**/
    277878WEBKIT_API gchar*
    278879webkit_dom_test_obj_get_string_attr_with_setter_exception(WebKitDOMTestObj* self);
    279880
     881/**
     882 * webkit_dom_test_obj_set_string_attr_with_setter_exception:
     883 * @self: A #WebKitDOMTestObj
     884 * @value: A #gchar
     885 * @error: #GError
     886 *
     887 * Returns:
     888 *
     889**/
    280890WEBKIT_API void
    281891webkit_dom_test_obj_set_string_attr_with_setter_exception(WebKitDOMTestObj* self, const gchar* value, GError **error);
    282892
     893/**
     894 * webkit_dom_test_obj_get_script_string_attr:
     895 * @self: A #WebKitDOMTestObj
     896 *
     897 * Returns:
     898 *
     899**/
    283900WEBKIT_API gchar*
    284901webkit_dom_test_obj_get_script_string_attr(WebKitDOMTestObj* self);
    285902
     903/**
     904 * webkit_dom_test_obj_get_conditional_attr1:
     905 * @self: A #WebKitDOMTestObj
     906 *
     907 * Returns:
     908 *
     909**/
    286910WEBKIT_API glong
    287911webkit_dom_test_obj_get_conditional_attr1(WebKitDOMTestObj* self);
    288912
     913/**
     914 * webkit_dom_test_obj_set_conditional_attr1:
     915 * @self: A #WebKitDOMTestObj
     916 * @value: A #glong
     917 *
     918 * Returns:
     919 *
     920**/
    289921WEBKIT_API void
    290922webkit_dom_test_obj_set_conditional_attr1(WebKitDOMTestObj* self, glong value);
    291923
     924/**
     925 * webkit_dom_test_obj_get_conditional_attr2:
     926 * @self: A #WebKitDOMTestObj
     927 *
     928 * Returns:
     929 *
     930**/
    292931WEBKIT_API glong
    293932webkit_dom_test_obj_get_conditional_attr2(WebKitDOMTestObj* self);
    294933
     934/**
     935 * webkit_dom_test_obj_set_conditional_attr2:
     936 * @self: A #WebKitDOMTestObj
     937 * @value: A #glong
     938 *
     939 * Returns:
     940 *
     941**/
    295942WEBKIT_API void
    296943webkit_dom_test_obj_set_conditional_attr2(WebKitDOMTestObj* self, glong value);
    297944
     945/**
     946 * webkit_dom_test_obj_get_conditional_attr3:
     947 * @self: A #WebKitDOMTestObj
     948 *
     949 * Returns:
     950 *
     951**/
    298952WEBKIT_API glong
    299953webkit_dom_test_obj_get_conditional_attr3(WebKitDOMTestObj* self);
    300954
     955/**
     956 * webkit_dom_test_obj_set_conditional_attr3:
     957 * @self: A #WebKitDOMTestObj
     958 * @value: A #glong
     959 *
     960 * Returns:
     961 *
     962**/
    301963WEBKIT_API void
    302964webkit_dom_test_obj_set_conditional_attr3(WebKitDOMTestObj* self, glong value);
    303965
     966/**
     967 * webkit_dom_test_obj_get_description:
     968 * @self: A #WebKitDOMTestObj
     969 *
     970 * Returns:
     971 *
     972**/
    304973WEBKIT_API glong
    305974webkit_dom_test_obj_get_description(WebKitDOMTestObj* self);
    306975
     976/**
     977 * webkit_dom_test_obj_get_id:
     978 * @self: A #WebKitDOMTestObj
     979 *
     980 * Returns:
     981 *
     982**/
    307983WEBKIT_API glong
    308984webkit_dom_test_obj_get_id(WebKitDOMTestObj* self);
    309985
     986/**
     987 * webkit_dom_test_obj_set_id:
     988 * @self: A #WebKitDOMTestObj
     989 * @value: A #glong
     990 *
     991 * Returns:
     992 *
     993**/
    310994WEBKIT_API void
    311995webkit_dom_test_obj_set_id(WebKitDOMTestObj* self, glong value);
    312996
     997/**
     998 * webkit_dom_test_obj_get_hash:
     999 * @self: A #WebKitDOMTestObj
     1000 *
     1001 * Returns:
     1002 *
     1003**/
    3131004WEBKIT_API gchar*
    3141005webkit_dom_test_obj_get_hash(WebKitDOMTestObj* self);
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h

    r80072 r90841  
    4747webkit_dom_test_serialized_script_value_interface_get_type (void);
    4848
     49/**
     50 * webkit_dom_test_serialized_script_value_interface_get_value:
     51 * @self: A #WebKitDOMTestSerializedScriptValueInterface
     52 *
     53 * Returns: (transfer none):
     54 *
     55**/
    4956WEBKIT_API WebKitDOMSerializedScriptValue*
    5057webkit_dom_test_serialized_script_value_interface_get_value(WebKitDOMTestSerializedScriptValueInterface* self);
Note: See TracChangeset for help on using the changeset viewer.