From a5638a0a65ad442a91ae50af3305ca34894748bc Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Mon, 2 Jan 2012 11:29:51 +0000 Subject: [PATCH] clarify docs that you must free when done. SVN revision: 66744 --- legacy/evas/src/lib/Evas.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/legacy/evas/src/lib/Evas.h b/legacy/evas/src/lib/Evas.h index 617a27c47b..ad14cf6d81 100644 --- a/legacy/evas/src/lib/Evas.h +++ b/legacy/evas/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;