From 1547433b722384d2404001a9537bee29ae8d5341 Mon Sep 17 00:00:00 2001 From: YoungJun Cho Date: Wed, 2 Nov 2016 23:01:16 +0900 Subject: [PATCH] ut: stubs: synchronize tbm_surface_internal.h modification This patch synchronizes tbm_surface_internal.h modification with libtbm one. Change-Id: Ie134209554a88e872bb7871add0269c110ed1abe Signed-off-by: YoungJun Cho --- ut/stubs/tbm_surface_internal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ut/stubs/tbm_surface_internal.h b/ut/stubs/tbm_surface_internal.h index 367adf6..6c85b77 100644 --- a/ut/stubs/tbm_surface_internal.h +++ b/ut/stubs/tbm_surface_internal.h @@ -143,7 +143,7 @@ void tbm_surface_internal_unref(tbm_surface_h surface); * @brief Gets the number of buffer objects associated with the tbm_surface. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @param[in] surface : the tbm_surface_h - * @return the number of buffer objects associated with the tbm_surface_h, otherwise -1. + * @return the number of buffer objects associated with the tbm_surface_h, otherwise 0. * @par Example @code #include @@ -196,7 +196,7 @@ tbm_bo tbm_surface_internal_get_bo(tbm_surface_h surface, int bo_idx); * @brief Gets the size of the surface. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @param[in] surface : the tbm_surface_h - * @return the size of tbm_surface, otherwise -1. + * @return the size of tbm_surface, otherwise 0. * @par Example @code #include @@ -211,7 +211,7 @@ tbm_bo tbm_surface_internal_get_bo(tbm_surface_h surface, int bo_idx); tbm_surface_destroy (surface); @endcode */ -int tbm_surface_internal_get_size(tbm_surface_h surface); +unsigned int tbm_surface_internal_get_size(tbm_surface_h surface); /** * @brief Gets size, offset and pitch data of plane by the plane_index. @@ -287,7 +287,7 @@ int tbm_surface_internal_get_bpp(tbm_format format); * @since_tizen 2.4 * @param[in] surface : the tbm_surface_h * @param[in] plane_idx : the bo index in the tbm_surface - * @return bo index of plane, otherwise -1. + * @return bo index of plane, otherwise 0. * @par Example @code #include -- 2.7.4