Bug 1874684 - Part 4: Prefer const references instead of copying Instant values....
[gecko.git] / dom / origin-trials / ffi / cbindgen.toml
blob1b95a60280cd791b2bd01eaacbf558052e5d0033
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 https://mozilla.org/MPL/2.0/. */
5 #ifndef mozilla_OriginTrials_h
6 #error "Don't include this file directly, include mozilla/OriginTrials.h instead"
7 #endif
8 """
9 include_guard = "mozilla_OriginTrials_ffi_h"
10 include_version = true
11 language = "C++"
12 namespaces = ["mozilla", "origin_trials_ffi"]
13 includes = ["mozilla/Assertions.h"]
15 [enum]
16 derive_helper_methods = true
17 derive_const_casts = true
18 cast_assert_name = "MOZ_DIAGNOSTIC_ASSERT"