[valadoc] doclets/gtkdoc: Register struct type macro/function
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] doclets/gtkdoc: Register struct type macro/function
- Date: Fri, 17 Aug 2012 23:25:49 +0000 (UTC)
commit d147f38c1454d3fffcbb85e8c9ce64e9079fc686
Author: Florian Brosch <flo brosch gmail com>
Date: Fri Aug 17 01:07:30 2012 +0200
doclets/gtkdoc: Register struct type macro/function
src/doclets/gtkdoc/generator.vala | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/doclets/gtkdoc/generator.vala b/src/doclets/gtkdoc/generator.vala
index 38f135a..4c929ab 100644
--- a/src/doclets/gtkdoc/generator.vala
+++ b/src/doclets/gtkdoc/generator.vala
@@ -543,6 +543,12 @@ It is important that your <link linkend=\"GValue\"><type>GValue</type></link> ho
add_symbol (st.get_filename(), st.get_dup_function_cname ());
add_symbol (st.get_filename(), st.get_free_function_cname ());
+
+
+ var file_data = get_file_data (st.get_filename ());
+
+ file_data.register_standard_section_line (st.get_type_macro_name ());
+ file_data.register_standard_section_line (st.get_type_function_name ());
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]