On Mon, Apr 23, 2012 at 2:32 PM, Enlightenment SVN
<no-re...@enlightenment.org> wrote:
> Log:
> Eobj: Make eobj_weak_ref_add return the obejct being reffed.
>
>  Suggested by vtorri.
>
> Author:       tasn
> Date:         2012-04-23 05:32:36 -0700 (Mon, 23 Apr 2012)
> New Revision: 70418
> Trac:         http://trac.enlightenment.org/e/changeset/70418
>
> Modified:
>  trunk/PROTO/eobj/lib/Eobj.h trunk/PROTO/eobj/lib/eobj.c
>
> Modified: trunk/PROTO/eobj/lib/Eobj.h
> ===================================================================
> --- trunk/PROTO/eobj/lib/Eobj.h 2012-04-23 12:32:34 UTC (rev 70417)
> +++ trunk/PROTO/eobj/lib/Eobj.h 2012-04-23 12:32:36 UTC (rev 70418)
> @@ -545,8 +545,9 @@
>  * @brief Create a new weak reference to obj.
>  * @param obj The object being referenced.
>  * @param wref The pointer to use for the weak ref.
> + * @return The object being referenced (obj).
>  */
> -EAPI void eobj_weak_ref_add(const Eobj *obj, Eobj **wref);
> +EAPI Eobj *eobj_weak_ref_add(const Eobj *obj, Eobj **wref);

hmm, why do you need to return it in wref, then ???

Vincent

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to