forked from enlightenment/efl
eolian/generator: use get/set doc as primary if needed
This commit is contained in:
parent
bc244e7a18
commit
1a317196ae
|
@ -186,6 +186,7 @@ docs_generate_function(const Eolian_Function *fid, Eolian_Function_Type ftype, i
|
|||
{
|
||||
doc = eolian_function_documentation_get(fid, EOLIAN_PROPERTY);
|
||||
pdoc = eolian_function_documentation_get(fid, ftype);
|
||||
if (!doc && pdoc) doc = pdoc;
|
||||
if (pdoc == doc) pdoc = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue