summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-06-08 17:35:25 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-06-08 17:36:32 +0100
commit1a317196ae12fa483fba57e8cfc5cb5108b54d06 (patch)
treeef9c36e000ad1a044399347997121345e1880da8 /src/bin
parentbc244e7a18e4538c8120fd909a9db54b03fcb914 (diff)
eolian/generator: use get/set doc as primary if needed
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/eolian/docs_generator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/eolian/docs_generator.c b/src/bin/eolian/docs_generator.c
index 623545b914..41b506d95a 100644
--- a/src/bin/eolian/docs_generator.c
+++ b/src/bin/eolian/docs_generator.c
@@ -186,6 +186,7 @@ docs_generate_function(const Eolian_Function *fid, Eolian_Function_Type ftype, i
186 { 186 {
187 doc = eolian_function_documentation_get(fid, EOLIAN_PROPERTY); 187 doc = eolian_function_documentation_get(fid, EOLIAN_PROPERTY);
188 pdoc = eolian_function_documentation_get(fid, ftype); 188 pdoc = eolian_function_documentation_get(fid, ftype);
189 if (!doc && pdoc) doc = pdoc;
189 if (pdoc == doc) pdoc = NULL; 190 if (pdoc == doc) pdoc = NULL;
190 } 191 }
191 192