cbindgen.toml (756B)
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_FluentBindings_h 6 #error "Don't include this file directly, instead include FluentBindings.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 16 [parse] 17 parse_deps = true 18 include = ["fluent", "fluent-bundle", "intl-memoizer"] 19 20 [enum] 21 derive_helper_methods = true 22 23 [export.rename] 24 "ThinVec" = "nsTArray"