From 6e1c20a408dfb790104358178e7fd391ebb8b69a Mon Sep 17 00:00:00 2001 From: Leandro Dorileo Date: Mon, 24 Sep 2012 22:22:46 +0000 Subject: [PATCH] Eio: fix eio_file_associate_add docs Concerning the eio_file_associate_add docs it currently states the user data is freed with free() case a callback is not provided, this is not the case, the associate data(Eio_File_Associate) is freed not the user data. Patch by: Leandro Dorileo SVN revision: 77041 --- legacy/eio/src/lib/Eio.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/legacy/eio/src/lib/Eio.h b/legacy/eio/src/lib/Eio.h index e21a269f5d..cb791a0ebf 100644 --- a/legacy/eio/src/lib/Eio.h +++ b/legacy/eio/src/lib/Eio.h @@ -734,7 +734,9 @@ EAPI Eina_Bool eio_file_check(Eio_File *ls); * @param ls The Eio_File ls request currently calling the filter callback. * @param key The key to associate data to. * @param data The data to associate the data to. - * @param free_cb The function to call to free the associated data, @p free will be called if not specified. + * @param free_cb Optionally a function to call to free the associated data, + * @p data is passed as the callback data parameter. If no @free_cb is provided + * the user @p data remains untouched. * @return EINA_TRUE if insertion was fine. * * This function can only be safely called from within the filter callback.