aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-25 15:15:04 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-30 17:15:54 +0200
commit67bc32d9aced9f486d703db2ed883f5958a1a8fb (patch)
tree5f0bdc1c870c39eed52bbff79d72fe576be69d73 /src/bin/eolian
parenteolian: pass unit to struct get by name (diff)
downloadefl-67bc32d9aced9f486d703db2ed883f5958a1a8fb.tar.gz
eolian: pass unit to enum get by name
Diffstat (limited to 'src/bin/eolian')
-rw-r--r--src/bin/eolian/docs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian/docs.c b/src/bin/eolian/docs.c
index d200c7f458..2a293697c0 100644
--- a/src/bin/eolian/docs.c
+++ b/src/bin/eolian/docs.c
@@ -53,7 +53,7 @@ _generate_ref(const Eolian_Unit *src, const char *refn, Eina_Strbuf *wbuf,
return;
}
- tp = eolian_typedecl_enum_get_by_name(bname);
+ tp = eolian_typedecl_enum_get_by_name(src, bname);
if (tp)
{
const Eolian_Enum_Type_Field *efl = eolian_typedecl_enum_field_get(tp, sfx + 1);