[libvirt] [PATCH 02/35] apibuild: ignore GLib macros too

Ján Tomko jtomko at redhat.com
Mon Oct 14 13:15:20 UTC 2019


Add an exception for the GLib versions of the macros we already ignore.

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 docs/apibuild.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/apibuild.py b/docs/apibuild.py
index 92886e1276..b11d3fd5a9 100755
--- a/docs/apibuild.py
+++ b/docs/apibuild.py
@@ -73,6 +73,8 @@ admin_included_files = {
 ignored_words = {
   "ATTRIBUTE_UNUSED": (0, "macro keyword"),
   "ATTRIBUTE_SENTINEL": (0, "macro keyword"),
+  "G_GNUC_UNUSED": (0, "macro keyword"),
+  "G_GNUC_NULL_TERMINATED": (0, "macro keyword"),
   "VIR_DEPRECATED": (0, "macro keyword"),
   "VIR_EXPORT_VAR": (0, "macro keyword"),
   "WINAPI": (0, "Windows keyword"),
-- 
2.19.2




More information about the libvir-list mailing list