summaryrefslogtreecommitdiff
path: root/giscanner/sourcescanner.h
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.h
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.h')
-rw-r--r--giscanner/sourcescanner.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/giscanner/sourcescanner.h b/giscanner/sourcescanner.h
index 9e371312..2167df70 100644
--- a/giscanner/sourcescanner.h
+++ b/giscanner/sourcescanner.h
@@ -69,7 +69,8 @@ typedef enum
STORAGE_CLASS_EXTERN = 1 << 2,
STORAGE_CLASS_STATIC = 1 << 3,
STORAGE_CLASS_AUTO = 1 << 4,
- STORAGE_CLASS_REGISTER = 1 << 5
+ STORAGE_CLASS_REGISTER = 1 << 5,
+ STORAGE_CLASS_THREAD_LOCAL = 1 << 6
} StorageClassSpecifier;
typedef enum