Bug 1685225 - Use state bits to determine the color for non-native theme meter chunks...
[gecko.git] / gfx / webrender_bindings / cbindgen.toml
blobb7f81cd238f5a7a793e60993a05a06609777ac88
1 header = """/* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */"""
4 autogen_warning = """/* DO NOT MODIFY THIS MANUALLY! This file was generated using cbindgen.
5  * To generate this file:
6  *   1. Get the latest cbindgen using `cargo install --force cbindgen`
7  *      a. Alternatively, you can clone `https://github.com/eqrion/cbindgen` and use a tagged release
8  *   2. Run `rustup run nightly cbindgen toolkit/library/rust/ --lockfile Cargo.lock --crate webrender_bindings -o gfx/webrender_bindings/webrender_ffi_generated.h`
9  */"""
10 include_version = true
11 braces = "SameLine"
12 line_length = 100
13 tab_width = 2
14 language = "C++"
15 namespaces = ["mozilla", "wr"]
17 [export]
18 item_types = ["globals", "enums", "structs", "unions", "typedefs", "opaque", "functions", "constants"]
20 [parse]
21 parse_deps = true
22 include = ["log", "euclid", "webrender", "webrender_api"]
24 [fn]
25 args = "Vertical"
26 rename_args = "GeckoCase"
28 [struct]
29 associated_constants_in_body = true
30 derive_eq = true
31 derive_ostream = true
33 [enum]
34 add_sentinel = true
35 derive_helper_methods = true
36 derive_ostream = true
38 [macro_expansion]
39 bitflags = true
41 [defines]
42 "target_os = windows" = "XP_WIN"
43 "target_os = macos" = "XP_MACOSX"
44 "target_os = android" = "ANDROID"
46 [export.rename]
47 "ThinVec" = "nsTArray"