cbindgen.toml (828B)
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. See RunCbindgen.py */ 5 #ifndef mozilla_intl_l10n_RegistryBindings_h 6 #error "Don't include this file directly, instead include RegistryBindings.h" 7 #endif 8 """ 9 include_version = true 10 braces = "SameLine" 11 line_length = 100 12 tab_width = 2 13 language = "C++" 14 namespaces = ["mozilla", "intl", "ffi"] 15 includes = ["nsIStreamLoader.h"] 16 17 [parse] 18 parse_deps = true 19 include = ["fluent-bundle", "fluent-fallback", "l10nregistry"] 20 21 [enum] 22 derive_helper_methods = true 23 24 [export.rename] 25 "ThinVec" = "nsTArray" 26 "Promise" = "dom::Promise"