From 32e5934717897e30070f874694ede68eee02fb21 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 12 Apr 2012 06:28:55 +0000 Subject: [PATCH] add docs explaining the internal cache on close for onefang. SVN revision: 70118 --- legacy/eet/src/lib/Eet.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/legacy/eet/src/lib/Eet.h b/legacy/eet/src/lib/Eet.h index 38b40a7cc9..10d94f5ed8 100644 --- a/legacy/eet/src/lib/Eet.h +++ b/legacy/eet/src/lib/Eet.h @@ -585,12 +585,16 @@ eet_mode_get(Eet_File *ef); * * This function will flush any pending writes to disk if the eet file * was opened for write, and free all data associated with the file handle - * and file, and close the file. + * and file, and close the file. If it was opened for read (or read/write), + * the file handle may still be held open internally for caching purposes. + * To flush speuclatively held eet file handles use eet_clearcache(). * * If the eet file handle is not valid nothing will be done. * * @since 1.0.0 * @ingroup Eet_File_Group + * + * @see eet_clearcache() */ EAPI Eet_Error eet_close(Eet_File *ef);