mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
8e6a6ef6e5
MozReview-Commit-ID: DgsgB5d6GiH --HG-- extra : rebase_source : 111daefeddfb25bb646d6ca9b63346486288701a extra : amend_source : 906c7d2ace2c988c78598d424fb7f68e3df6ed7f extra : histedit_source : 3ee820dce4fde5d793d28cd889a8b1ef976d6909
38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
header = """/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */"""
|
|
autogen_warning = """/* DO NOT MODIFY THIS MANUALLY! This file was generated using cbindgen.
|
|
* To generate this file:
|
|
* 1. Get the latest cbindgen using `cargo install --force cbindgen`
|
|
* a. Alternatively, you can clone `https://github.com/eqrion/cbindgen` and use a tagged release
|
|
* 2. Run `rustup run nightly cbindgen toolkit/library/rust/ --crate webrender_bindings -o gfx/webrender_bindings/webrender_ffi_generated.h`
|
|
*/"""
|
|
include_version = true
|
|
braces = "SameLine"
|
|
line_length = 100
|
|
tab_width = 2
|
|
language = "C++"
|
|
namespaces = ["mozilla", "wr"]
|
|
|
|
[parse]
|
|
parse_deps = true
|
|
include = ["log", "webrender", "webrender_api"]
|
|
expand = ["euclid"]
|
|
|
|
[fn]
|
|
prefix = "WR_INLINE"
|
|
postfix = "WR_FUNC"
|
|
args = "Vertical"
|
|
rename_args = "GeckoCase"
|
|
|
|
[struct]
|
|
derive_eq = true
|
|
|
|
[enum]
|
|
add_sentinel = true
|
|
|
|
[defines]
|
|
"target_os = windows" = "XP_WIN"
|
|
"target_os = macos" = "XP_MACOSX"
|
|
|