projects
/
profile
/
ivi
/
eobj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6bbf57
)
Eo: Make eo_parent_get accept const.
author
tasn
<tasn>
Tue, 8 May 2012 06:56:50 +0000
(06:56 +0000)
committer
tasn
<tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 8 May 2012 06:56:50 +0000
(06:56 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70864
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
lib/Eo.h
patch
|
blob
|
history
lib/eo.c
patch
|
blob
|
history
diff --git
a/lib/Eo.h
b/lib/Eo.h
index
8e7b229
..
32047f9
100644
(file)
--- a/
lib/Eo.h
+++ b/
lib/Eo.h
@@
-530,7
+530,7
@@
EAPI Eo *eo_add(const Eo_Class *klass, Eo *parent);
* @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.
diff --git
a/lib/eo.c
b/lib/eo.c
index
dfba1e8
..
6203e92
100644
(file)
--- a/
lib/eo.c
+++ b/
lib/eo.c
@@
-1097,7
+1097,7
@@
eo_del(Eo *obj)
}
EAPI Eo *
-eo_parent_get(Eo *obj)
+eo_parent_get(
const
Eo *obj)
{
EO_MAGIC_RETURN_VAL(obj, EO_EINA_MAGIC, NULL);