]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
doclets/gtkdoc: Register struct type macro/function
authorFlorian Brosch <flo.brosch@gmail.com>
Thu, 16 Aug 2012 23:07:30 +0000 (01:07 +0200)
committerFlorian Brosch <flo.brosch@gmail.com>
Fri, 17 Aug 2012 00:13:58 +0000 (02:13 +0200)
src/doclets/gtkdoc/generator.vala

index 38f135a7c41da26637b086e6cbae0e1f92cab46e..4c929ab7a2200a7ac8616a3a642a1ac288ece40b 100644 (file)
@@ -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 ());
        }
 
        /**