Show header file of a class in HTML docs
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/6c9b0edd Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/6c9b0edd Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/6c9b0edd Branch: refs/heads/master Commit: 6c9b0edd6468133ce2fa3331c2f38978d508f024 Parents: 3518fa0 Author: Nick Wellnhofer <[email protected]> Authored: Sat Jul 25 19:08:07 2015 +0200 Committer: Nick Wellnhofer <[email protected]> Committed: Thu Aug 6 18:19:19 2015 +0200 ---------------------------------------------------------------------- compiler/src/CFCCHtml.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6c9b0edd/compiler/src/CFCCHtml.c ---------------------------------------------------------------------- diff --git a/compiler/src/CFCCHtml.c b/compiler/src/CFCCHtml.c index 95fb27f..e320ad9 100644 --- a/compiler/src/CFCCHtml.c +++ b/compiler/src/CFCCHtml.c @@ -347,6 +347,7 @@ CFCCHtml_create_html_body(CFCClass *klass) { const char *class_nickname = CFCClass_get_nickname(klass); const char *class_var = CFCClass_full_class_var(klass); const char *struct_sym = CFCClass_full_struct_sym(klass); + const char *include_h = CFCClass_include_h(klass); // Create NAME. char *name = S_html_create_name(klass); @@ -392,6 +393,10 @@ CFCCHtml_create_html_body(CFCClass *klass) { "<td class=\"label\">struct symbol</td>\n" "<td><code>%s</code></td>\n" "</tr>\n" + "<tr>\n" + "<td class=\"label\">header file</td>\n" + "<td><code>%s</code></td>\n" + "</tr>\n" "</table>\n" "%s" "%s" @@ -402,7 +407,7 @@ CFCCHtml_create_html_body(CFCClass *klass) { char *html_body = CFCUtil_sprintf(pattern, class_name, index_filename, parcel_name, class_name, class_nickname, class_var, - struct_sym, name, synopsis, description, + struct_sym, include_h, name, synopsis, description, functions_html, methods_html, inheritance); FREEMEM(index_filename);
