summaryrefslogtreecommitdiff
path: root/src/bin/eolian/docs.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-25 15:11:08 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-30 17:15:54 +0200
commit9c2dae3531d4dc282a735d5f0705a4eb8af6f4bd (patch)
tree48ac7726119b49f6c04f8315b16837d57fca4c30 /src/bin/eolian/docs.c
parent52a0255e38fa483440e9a31e020adff6590ad1f8 (diff)
eolian: pass unit to struct get by name
Diffstat (limited to 'src/bin/eolian/docs.c')
-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 842376c59f..d200c7f458 100644
--- a/src/bin/eolian/docs.c
+++ b/src/bin/eolian/docs.c
@@ -39,7 +39,7 @@ _generate_ref(const Eolian_Unit *src, const char *refn, Eina_Strbuf *wbuf,
39 39
40 Eina_Stringshare *bname = eina_stringshare_add_length(refn, sfx - refn); 40 Eina_Stringshare *bname = eina_stringshare_add_length(refn, sfx - refn);
41 41
42 const Eolian_Typedecl *tp = eolian_typedecl_struct_get_by_name(bname); 42 const Eolian_Typedecl *tp = eolian_typedecl_struct_get_by_name(src, bname);
43 if (tp) 43 if (tp)
44 { 44 {
45 if (!eolian_typedecl_struct_field_get(tp, sfx + 1)) 45 if (!eolian_typedecl_struct_field_get(tp, sfx + 1))