Changeset 167737 in webkit


Ignore:
Timestamp:
Apr 23, 2014 7:25:08 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL][WK1] Add *const* keyword to _get() APIs
https://bugs.webkit.org/show_bug.cgi?id=132094

Patch by Hyowon Kim <hw1008.kim@samsung.com> on 2014-04-23
Reviewed by Gyuyoung Kim.

Some _get() EFL APIs don't have *const* keyword though the _get() APIs don't modify passed argument.
We need to add *const* keyword to those APIs.

  • ewk/ewk_history.cpp:

(ewk_history_limit_get):

  • ewk/ewk_history.h:
  • ewk/ewk_js.cpp:

(ewk_js_object_type_get):

  • ewk/ewk_js.h:
Location:
trunk/Source/WebKit/efl
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/efl/ChangeLog

    r167697 r167737  
     12014-04-23  Hyowon Kim  <hw1008.kim@samsung.com>
     2
     3        [EFL][WK1] Add *const* keyword to _get() APIs
     4        https://bugs.webkit.org/show_bug.cgi?id=132094
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        Some _get() EFL APIs don't have *const* keyword though the _get() APIs don't modify passed argument.
     9        We need to add *const* keyword to those APIs.
     10
     11        * ewk/ewk_history.cpp:
     12        (ewk_history_limit_get):
     13        * ewk/ewk_history.h:
     14        * ewk/ewk_js.cpp:
     15        (ewk_js_object_type_get):
     16        * ewk/ewk_js.h:
     17
    1182014-04-22  Ryuan Choi  <ryuan.choi@samsung.com>
    219
  • trunk/Source/WebKit/efl/ewk/ewk_history.cpp

    r164168 r167737  
    220220}
    221221
    222 int ewk_history_limit_get(Ewk_History* history)
     222int ewk_history_limit_get(const Ewk_History* history)
    223223{
    224224    EWK_HISTORY_CORE_GET_OR_RETURN(history, core, 0);
  • trunk/Source/WebKit/efl/ewk/ewk_history.h

    r164168 r167737  
    252252 * @return maximum number of entries this history will hold.
    253253 */
    254 EAPI int               ewk_history_limit_get(Ewk_History *history);
     254EAPI int               ewk_history_limit_get(const Ewk_History *history);
    255255
    256256/**
  • trunk/Source/WebKit/efl/ewk/ewk_js.cpp

    r149980 r167737  
    694694}
    695695
    696 Ewk_JS_Object_Type ewk_js_object_type_get(Ewk_JS_Object* jsObject)
     696Ewk_JS_Object_Type ewk_js_object_type_get(const Ewk_JS_Object* jsObject)
    697697{
    698698#if ENABLE(NETSCAPE_PLUGIN_API)
  • trunk/Source/WebKit/efl/ewk/ewk_js.h

    r124405 r167737  
    192192 * @c EWK_JS_FUNCTION if it is a function.
    193193 */
    194 EAPI Ewk_JS_Object_Type ewk_js_object_type_get(Ewk_JS_Object *obj);
     194EAPI Ewk_JS_Object_Type ewk_js_object_type_get(const Ewk_JS_Object *obj);
    195195
    196196/**
Note: See TracChangeset for help on using the changeset viewer.