gecko-dev/gfx/webrender_bindings/cbindgen.toml
Ryan Hunt 05ee8df788 Bug 1362925 - Update webrender_bindings for cbindgen:0.1.7 r=kats
MozReview-Commit-ID: AwlqUWWEWfz

--HG--
extra : rebase_source : deace018f5d25f3eeecd5d4d683bb4f9a782a05c
extra : amend_source : 051d621e7b35e5389627b0946e7f87f0f8b9fa14
2017-05-08 01:31:20 -04:00

24 lines
758 B
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, clone `https://github.com/rlhunt/cbindgen` or run `cargo install cbindgen`,
* then run `cbindgen gfx/webrender_bindings/ -o gfx/webrender_bindings/webrender_ffi_generated.h` */"""
include_version = true
braces = "SameLine"
line_length = 100
tab_width = 2
language = "C++"
[fn]
prefix = "WR_INLINE"
postfix = "WR_FUNC"
args = "Vertical"
rename_args = "GeckoCase"
[struct]
derive_eq = true
[enum]
add_sentinel = true