From 9de3520c876825d45e4ec5d7882671f1ed775023 Mon Sep 17 00:00:00 2001 From: Srivardhan Hebbar Date: Thu, 7 Jan 2016 15:33:38 +0900 Subject: [PATCH] eina: Updated documentation of strbuf_substr_get. Summary: Fixes T2949. In the bug, its been mentioned about updating the documentation, so added this. Signed-off-by: Srivardhan Hebbar Reviewers: cedric, jpeg Reviewed By: jpeg Maniphest Tasks: T2949 Differential Revision: https://phab.enlightenment.org/D3462 --- src/lib/eina/eina_strbuf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/eina/eina_strbuf.h b/src/lib/eina/eina_strbuf.h index b5960344a6..df3ca8e80e 100644 --- a/src/lib/eina/eina_strbuf.h +++ b/src/lib/eina/eina_strbuf.h @@ -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 */