tbm_surface_internal: fix header descriptions 47/95247/1
authorYoungJun Cho <yj44.cho@samsung.com>
Wed, 2 Nov 2016 13:45:07 +0000 (22:45 +0900)
committerYoungJun Cho <yj44.cho@samsung.com>
Wed, 2 Nov 2016 13:45:07 +0000 (22:45 +0900)
This patch fixes header descriptions for error return value.

Change-Id: Id3d02f44cef981fcb716e32b63bd5130d88981b4
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
src/tbm_surface_internal.h

index 55a249f..a90201f 100644 (file)
@@ -178,7 +178,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 <tbm_surface.h>
@@ -322,7 +322,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 <tbm_surface.h>