eina: Updated documentation of strbuf_substr_get.
authorSrivardhan Hebbar <sri.hebbar@samsung.com>
Thu, 7 Jan 2016 06:33:38 +0000 (15:33 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 7 Jan 2016 06:37:30 +0000 (15:37 +0900)
Summary:
Fixes T2949.
In the bug, its been mentioned about updating the documentation, so added this.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, jpeg

Reviewed By: jpeg

Maniphest Tasks: T2949

Differential Revision: https://phab.enlightenment.org/D3462

src/lib/eina/eina_strbuf.h

index b596034..df3ca8e 100644 (file)
@@ -663,6 +663,8 @@ EAPI void eina_strbuf_tolower(Eina_Strbuf *buf) EINA_ARG_NONNULL(1);
  *
  * This function creates a Eina_Strbuf which is a substring of buf which
  * is passed from pos position with len length.
+ * If buf is NULL then returns NULL.
+ * If len is 0, then an empty strbuf is returned.
  *
  * @since 1.17
  */