diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-10-20 07:07:25 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-10-22 09:10:47 +0200 |
commit | 870f2b86dfe389e7fa546686a2d9b8d70e52f043 (patch) | |
tree | 815aa4c8e1e891e14d883a849e699ff40fb9b125 /tests/headers/extern-const-struct.h | |
parent | d7a74baf5c822e0312aca539c3836e5d87c6091b (diff) |
codegen: Teach bindgen to respect constness of statics.
Diffstat (limited to 'tests/headers/extern-const-struct.h')
-rw-r--r-- | tests/headers/extern-const-struct.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/headers/extern-const-struct.h b/tests/headers/extern-const-struct.h new file mode 100644 index 00000000..10006e82 --- /dev/null +++ b/tests/headers/extern-const-struct.h @@ -0,0 +1,5 @@ +struct nsFoo { + float details[400]; +}; + +extern const struct nsFoo gDetails; |