Changeset 96202 in webkit


Ignore:
Timestamp:
Sep 28, 2011 1:02:15 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] Allow to skip count parameter in ewk_view_repaints_get and ewk_view_scroll_requests_get.
https://bugs.webkit.org/show_bug.cgi?id=65842

Patch by Grzegorz Czajkowski <g.czajkowski@samsung.com> on 2011-09-28
Reviewed by Ryosuke Niwa.

Makes the count parameter in ewk_view_repaints_get and ewk_view_scroll_requests_get
as an optional parameter. Developer may pass NULL to skip returning the number of elements
of the requested array.

  • ewk/ewk_view.cpp:

(ewk_view_repaints_get):
(ewk_view_scroll_requests_get):

Location:
trunk/Source/WebKit/efl
Files:
2 edited

Legend:

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

    r96195 r96202  
     12011-09-28  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
     2
     3        [EFL] Allow to skip count parameter in ewk_view_repaints_get and ewk_view_scroll_requests_get.
     4        https://bugs.webkit.org/show_bug.cgi?id=65842
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        Makes the count parameter in ewk_view_repaints_get and ewk_view_scroll_requests_get
     9        as an optional parameter. Developer may pass NULL to skip returning the number of elements
     10        of the requested array.
     11
     12        * ewk/ewk_view.cpp:
     13        (ewk_view_repaints_get):
     14        (ewk_view_scroll_requests_get):
     15
    1162011-09-28  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
    217
  • trunk/Source/WebKit/efl/ewk/ewk_view.cpp

    r96140 r96202  
    23762376 *
    23772377 * @param priv private handle pointer of the view to get repaints.
    2378  * @param count where to return the number of elements of returned array.
     2378 * @param count where to return the number of elements of returned array, may be @c 0.
    23792379 *
    23802380 * @return reference to array of requested repaints.
     
    23852385const Eina_Rectangle* ewk_view_repaints_get(const Ewk_View_Private_Data* priv, size_t* count)
    23862386{
    2387     EINA_SAFETY_ON_NULL_RETURN_VAL(count, 0);
    23882387    if (count)
    23892388        *count = 0;
     
    24042403 *
    24052404 * @param priv private handle pointer of the view to get scrolls.
    2406  * @param count where to return the number of elements of returned array.
     2405 * @param count where to return the number of elements of returned array, may be @c 0.
    24072406 *
    24082407 * @return reference to array of requested scrolls.
     
    24132412const Ewk_Scroll_Request* ewk_view_scroll_requests_get(const Ewk_View_Private_Data* priv, size_t* count)
    24142413{
    2415     EINA_SAFETY_ON_NULL_RETURN_VAL(count, 0);
    24162414    if (count)
    24172415        *count = 0;
Note: See TracChangeset for help on using the changeset viewer.