2011-09-28 Grzegorz Czajkowski <g.czajkowski@samsung.com>
+ [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
+
+ 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):
+
+2011-09-28 Grzegorz Czajkowski <g.czajkowski@samsung.com>
+
[EFL] URL of resources are not decoded.
https://bugs.webkit.org/show_bug.cgi?id=66540
* otherwise copy the array.
*
* @param priv private handle pointer of the view to get repaints.
- * @param count where to return the number of elements of returned array.
+ * @param count where to return the number of elements of returned array, may be @c 0.
*
* @return reference to array of requested repaints.
*
*/
const Eina_Rectangle* ewk_view_repaints_get(const Ewk_View_Private_Data* priv, size_t* count)
{
- EINA_SAFETY_ON_NULL_RETURN_VAL(count, 0);
if (count)
*count = 0;
EINA_SAFETY_ON_NULL_RETURN_VAL(priv, 0);
* otherwise copy the array.
*
* @param priv private handle pointer of the view to get scrolls.
- * @param count where to return the number of elements of returned array.
+ * @param count where to return the number of elements of returned array, may be @c 0.
*
* @return reference to array of requested scrolls.
*
*/
const Ewk_Scroll_Request* ewk_view_scroll_requests_get(const Ewk_View_Private_Data* priv, size_t* count)
{
- EINA_SAFETY_ON_NULL_RETURN_VAL(count, 0);
if (count)
*count = 0;
EINA_SAFETY_ON_NULL_RETURN_VAL(priv, 0);