Update NEWS by adding at the top a new section for eet 1.6
Vincent On Fri, 2 Dec 2011, Enlightenment SVN wrote: > Log: > +eet_file_get() > > > Author: discomfitor > Date: 2011-12-02 06:03:46 -0800 (Fri, 02 Dec 2011) > New Revision: 65812 > Trac: http://trac.enlightenment.org/e/changeset/65812 > > Modified: > trunk/eet/ChangeLog trunk/eet/src/lib/Eet.h trunk/eet/src/lib/eet_lib.c > > Modified: trunk/eet/ChangeLog > =================================================================== > --- trunk/eet/ChangeLog 2011-12-02 13:43:02 UTC (rev 65811) > +++ trunk/eet/ChangeLog 2011-12-02 14:03:46 UTC (rev 65812) > @@ -546,3 +546,7 @@ > * JPEG encode and decode in eet now uses ISLOW (not IFAST) due to > noticable quality losses in the chase for speed. It will use > IFAST for quality less than 60 when encoding > + > +2011-12-02 Mike Blumenkrantz > + > + * added eet_file_get to return the filename of an Eet_File > > Modified: trunk/eet/src/lib/Eet.h > =================================================================== > --- trunk/eet/src/lib/Eet.h 2011-12-02 13:43:02 UTC (rev 65811) > +++ trunk/eet/src/lib/Eet.h 2011-12-02 14:03:46 UTC (rev 65812) > @@ -775,6 +775,19 @@ > int compress); > > /** > + * Retrieve the filename of an Eet_File > + * @param ef A valid eet file handle opened for writing. > + * @return The file opened with eet_open(), or NULL on error > + * > + * @note This function will return NULL for files opened with > eet_memopen_read() > + * > + * @since 1.6 > + * @ingroup Eet_File_Group > + */ > +EAPI const char * > +eet_file_get(Eet_File *ef); > + > +/** > * Retrieve the destination name of an alias > * @param ef A valid eet file handle opened for writing > * @param name Name of the entry. eg: "/base/file_i_want" > > Modified: trunk/eet/src/lib/eet_lib.c > =================================================================== > --- trunk/eet/src/lib/eet_lib.c 2011-12-02 13:43:02 UTC (rev 65811) > +++ trunk/eet/src/lib/eet_lib.c 2011-12-02 14:03:46 UTC (rev 65812) > @@ -1479,6 +1479,13 @@ > return ef; > } /* eet_memopen_read */ > > +EAPI const char * > +eet_file_get(Eet_File *ef) > +{ > + if (eet_check_pointer(ef)) return NULL; > + return ef->path; > +} > + > EAPI Eet_File * > eet_open(const char *file, > Eet_File_Mode mode) > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel