From d8903e22184617e89746259ee9184837ed604029 Mon Sep 17 00:00:00 2001 From: raster Date: Mon, 2 Jan 2012 11:29:51 +0000 Subject: [PATCH] clarify docs that you must free when done. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66744 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/Evas.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/Evas.h b/src/lib/Evas.h index 617a27c..ad14cf6 100644 --- a/src/lib/Evas.h +++ b/src/lib/Evas.h @@ -8830,8 +8830,10 @@ EAPI char *evas_textblock_cursor_range_text_get(const Eva /** * Return the content of the cursor. * + * Free the returned string pointer when done (if it is not NULL). + * * @param cur the cursor - * @return the text in the range + * @return the text in the range, terminated by a nul byte (may be utf8). */ EAPI char *evas_textblock_cursor_content_get(const Evas_Textblock_Cursor *cur) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC; -- 2.7.4