[vala/0.48] libvaladoc/girimporter: Skip "function-macro" elements



commit 86aaaecddbefd06ae8f90d703762420f96d2cfc1
Author: Corentin Noël <corentin noel collabora com>
Date:   Fri Mar 27 13:32:58 2020 +0100

    libvaladoc/girimporter: Skip "function-macro" elements
    
    This is the same patch as in commit f51d9dfdaf97ab5b8377d7e5bb78cfc9b232dc86

 libvaladoc/importer/girdocumentationimporter.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/libvaladoc/importer/girdocumentationimporter.vala 
b/libvaladoc/importer/girdocumentationimporter.vala
index dac87ac20..c01511ae0 100644
--- a/libvaladoc/importer/girdocumentationimporter.vala
+++ b/libvaladoc/importer/girdocumentationimporter.vala
@@ -273,6 +273,8 @@ public class Valadoc.Importer.GirDocumentationImporter : DocumentationImporter {
                                parse_bitfield ();
                        } else if (reader.name == "function") {
                                parse_method ("function");
+                       } else if (reader.name == "function-macro") {
+                               skip_element ();
                        } else if (reader.name == "callback") {
                                parse_callback ();
                        } else if (reader.name == "record") {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]