Bug 1632310 [wpt PR 23186] - Add test for computed versus resolved style., a=testonly
[gecko.git] / gfx / wgpu_bindings / cbindgen.toml
blob1c847537cbaa29c19274d1ca478d171866c27925
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 wgpu_bindings -o dom/webgpu/ffi/wgpu_ffi_generated.h`
9  */
11 typedef uint64_t WGPUNonZeroU64;
12 typedef uint64_t WGPUOption_AdapterId;
13 typedef uint64_t WGPUOption_SurfaceId;
14 typedef uint64_t WGPUOption_TextureViewId;
15 """
16 include_version = true
17 braces = "SameLine"
18 line_length = 100
19 tab_width = 2
20 language = "C"
21 style = "tag"
23 [export]
24 prefix = "WGPU"
25 exclude = ["Option_AdapterId", "Option_SurfaceId", "Option_TextureViewId"]
27 [parse]
28 parse_deps = true
29 include = ["wgpu-core", "wgpu-types"]
31 extra_bindings = ["wgpu-core", "wgpu-types"]
33 [fn]
34 prefix = "WGPU_INLINE"
35 postfix = "WGPU_FUNC"
36 args = "Vertical"
37 rename_args = "GeckoCase"
39 [struct]
40 derive_eq = true
42 [enum]
43 prefix_with_name = true
44 derive_helper_methods = true
45 add_sentinel = true
47 [macro_expansion]
48 bitflags = true
50 [defines]
51 "target_os = windows" = "XP_WIN"
52 "target_os = macos" = "XP_MACOSX"
53 "target_os = android" = "ANDROID"