]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
apibuild: ignore GLib macros too
authorJán Tomko <jtomko@redhat.com>
Mon, 14 Oct 2019 12:31:15 +0000 (14:31 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 15 Oct 2019 09:25:21 +0000 (11:25 +0200)
Add an exception for the GLib versions of the macros we already ignore.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/apibuild.py

index 92886e1276ae0bf0efd2551b6005167aca8ef87f..b11d3fd5a92706ad2eb63552f9ca9ee2a1a8fc38 100755 (executable)
@@ -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"),