[vala/tintou/valadoc-skip-function-macro: 114/114] libvaladoc/girimporter: Skip "function-macro" elements
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/tintou/valadoc-skip-function-macro: 114/114] libvaladoc/girimporter: Skip "function-macro" elements
- Date: Thu, 11 Jun 2020 12:56:56 +0000 (UTC)
commit 518984a95a61e0b0418b0c6591f6aa9d5d4f30a7
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]