summaryrefslogtreecommitdiff
path: root/giscanner/sourcescanner.py
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2016-04-24 16:51:00 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2018-01-09 12:24:15 +0800
commitab71b25969404f615f44b509f4272ca83349590b (patch)
tree9dedf5521d77d588c88c3fab4f265d3c699c4fa9 /giscanner/sourcescanner.py
parent3ad8fb8170d8a30b1afada8db7993ced1828b6f5 (diff)
downloadgobject-introspection-ab71b25969404f615f44b509f4272ca83349590b.tar.gz
giscanner: Recognize _Thread_local as a storage class specifier
_Thread_local is a C11 keyword, and thread_local is a macro to make it more confortable to read. As this keyword can only be used in variable declarations, not in function return values or parameters, it cannot be included in bindable APIs and we can safely ignore it. https://bugzilla.gnome.org/show_bug.cgi?id=756921
Diffstat (limited to 'giscanner/sourcescanner.py')
-rw-r--r--giscanner/sourcescanner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/sourcescanner.py b/giscanner/sourcescanner.py
index 30fa75f0..0577ced8 100644
--- a/giscanner/sourcescanner.py
+++ b/giscanner/sourcescanner.py
@@ -70,6 +70,7 @@ STORAGE_CLASS_EXTERN = 1 << 2
STORAGE_CLASS_STATIC = 1 << 3
STORAGE_CLASS_AUTO = 1 << 4
STORAGE_CLASS_REGISTER = 1 << 5
+STORAGE_CLASS_THREAD_LOCAL = 1 << 6
TYPE_QUALIFIER_NONE = 0
TYPE_QUALIFIER_CONST = 1 << 1