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 <dorileo@profusion.mobi>



SVN revision: 77041
This commit is contained in:
Leandro Dorileo 2012-09-24 22:22:46 +00:00 committed by Bruno Dilly
parent 012301b7f6
commit 6e1c20a408
1 changed files with 3 additions and 1 deletions

View File

@ -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.