I'm just wondering : isn't 'eo' too small for the namespace ? I would
really prefer 'eobj'. It's not that big and might avoid conflicts with
other libraries which would also choose 'eo' as namespace

Vincent

On Tue, May 8, 2012 at 8:56 AM, Enlightenment SVN
<no-re...@enlightenment.org> wrote:
> Log:
> Eo: Make eo_parent_get accept const.
>
> Author:       tasn
> Date:         2012-05-07 23:56:50 -0700 (Mon, 07 May 2012)
> New Revision: 70864
> Trac:         http://trac.enlightenment.org/e/changeset/70864
>
> Modified:
>  trunk/PROTO/eobj/lib/Eo.h trunk/PROTO/eobj/lib/eo.c
>
> Modified: trunk/PROTO/eobj/lib/Eo.h
> ===================================================================
> --- trunk/PROTO/eobj/lib/Eo.h   2012-05-08 05:12:17 UTC (rev 70863)
> +++ trunk/PROTO/eobj/lib/Eo.h   2012-05-08 06:56:50 UTC (rev 70864)
> @@ -530,7 +530,7 @@
>  * @param obj the object to get the parent of.
>  * @return a pointer to the parent object.
>  */
> -EAPI Eo *eo_parent_get(Eo *obj);
> +EAPI Eo *eo_parent_get(const Eo *obj);
>
>  /**
>  * @brief Get a pointer to the data of an object for a specific class.
>
> Modified: trunk/PROTO/eobj/lib/eo.c
> ===================================================================
> --- trunk/PROTO/eobj/lib/eo.c   2012-05-08 05:12:17 UTC (rev 70863)
> +++ trunk/PROTO/eobj/lib/eo.c   2012-05-08 06:56:50 UTC (rev 70864)
> @@ -1097,7 +1097,7 @@
>  }
>
>  EAPI Eo *
> -eo_parent_get(Eo *obj)
> +eo_parent_get(const Eo *obj)
>  {
>    EO_MAGIC_RETURN_VAL(obj, EO_EINA_MAGIC, NULL);
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to