Backed out 4 changesets (bug 1825722) for causing reftest failures CLOSED TREE
[gecko.git] / dom / base / rust / cbindgen.toml
bloba34420e1129606e92d056fd48b0896036ef8a57d
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_dom_RustTypes_h
6 #error "Don't include this file directly, include mozilla/dom/RustTypes.h instead"
7 #endif
8 """
9 include_guard = "mozilla_dom_GeneratedElementDocumentState_h"
10 include_version = true
11 language = "C++"
12 namespaces = ["mozilla", "dom"]
13 includes = ["mozilla/Assertions.h"]
15 [enum]
16 derive_helper_methods = true
17 derive_const_casts = true
18 cast_assert_name = "MOZ_DIAGNOSTIC_ASSERT"
20 [struct]
21 associated_constants_in_body = true
22 derive_eq = true
23 derive_neq = true
25 [macro_expansion]
26 bitflags = true
28 [export]
29 include = [
30   "ElementState",
31   "DocumentState",
34 [export.body]
35 "ElementState" = """
36   STATE_HELPERS(ElementState)
37 """
38 "DocumentState" = """
39   STATE_HELPERS(DocumentState)
40 """