From: Florian Brosch Date: Thu, 16 Aug 2012 23:07:30 +0000 (+0200) Subject: doclets/gtkdoc: Register struct type macro/function X-Git-Tag: 0.37.1~3^2~142 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d147f38c1454d3fffcbb85e8c9ce64e9079fc686;p=thirdparty%2Fvala.git doclets/gtkdoc: Register struct type macro/function --- diff --git a/src/doclets/gtkdoc/generator.vala b/src/doclets/gtkdoc/generator.vala index 38f135a7c..4c929ab7a 100644 --- a/src/doclets/gtkdoc/generator.vala +++ b/src/doclets/gtkdoc/generator.vala @@ -543,6 +543,12 @@ It is important that your GValue 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 ()); } /**