On Tue, 19 Apr 2011, Enlightenment SVN wrote:
> Log: > +ecore_exe_data_set > > > Author: discomfitor > Date: 2011-04-19 14:38:24 -0700 (Tue, 19 Apr 2011) > New Revision: 58737 > Trac: http://trac.enlightenment.org/e/changeset/58737 > > Modified: > trunk/ecore/ChangeLog trunk/ecore/src/lib/ecore/Ecore.h > trunk/ecore/src/lib/ecore/ecore_exe.c > > Modified: trunk/ecore/ChangeLog > =================================================================== > --- trunk/ecore/ChangeLog 2011-04-19 21:37:32 UTC (rev 58736) > +++ trunk/ecore/ChangeLog 2011-04-19 21:38:24 UTC (rev 58737) > @@ -131,3 +131,7 @@ > 2011-04-13 Doyun Kang > > * Ecore_X + Ecore_Evas: Add more support for shape input setting > + > +2011-04-19 Mike Blumenkrantz > + > + * +ecore_exe_data_set can you describe a bit more the entry. Changelog should not have sybillin entries. Vincent > > Modified: trunk/ecore/src/lib/ecore/Ecore.h > =================================================================== > --- trunk/ecore/src/lib/ecore/Ecore.h 2011-04-19 21:37:32 UTC (rev 58736) > +++ trunk/ecore/src/lib/ecore/Ecore.h 2011-04-19 21:38:24 UTC (rev 58737) > @@ -397,6 +397,7 @@ > EAPI const char *ecore_exe_tag_get(const Ecore_Exe *exe); > EAPI const char *ecore_exe_cmd_get(const Ecore_Exe *exe); > EAPI void *ecore_exe_data_get(const Ecore_Exe *exe); > + EAPI void *ecore_exe_data_set(Ecore_Exe *exe, void *data); > EAPI Ecore_Exe_Flags ecore_exe_flags_get(const Ecore_Exe *exe); > EAPI void ecore_exe_pause(Ecore_Exe *exe); > EAPI void ecore_exe_continue(Ecore_Exe *exe); > > Modified: trunk/ecore/src/lib/ecore/ecore_exe.c > =================================================================== > --- trunk/ecore/src/lib/ecore/ecore_exe.c 2011-04-19 21:37:32 UTC (rev > 58736) > +++ trunk/ecore/src/lib/ecore/ecore_exe.c 2011-04-19 21:38:24 UTC (rev > 58737) > @@ -1134,6 +1134,28 @@ > } > > /** > + * Sets the data attached to the given process handle. > + * @param exe The given process handle. > + * @param data The pointer to attach > + * @return The data pointer previously attached to @p exe with > + * ecore_exe_run(), ecore_exe_pipe_run(), or ecore_exe_data_set() > + * @since 1.1 > + */ > +EAPI void * > +ecore_exe_data_set(Ecore_Exe *exe, void *data) > +{ > + void *ret; > + if (!ECORE_MAGIC_CHECK(exe, ECORE_MAGIC_EXE)) > + { > + ECORE_MAGIC_FAIL(exe, ECORE_MAGIC_EXE, __func__); > + return NULL; > + } > + ret = exe->data; > + exe->data = data; > + return ret; > +} > + > +/** > * Retrieves the flags attached to the given process handle. > * @param exe The given process handle. > * @return The flags attached to @p exe. > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel