cbindgen.toml (932B)
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. 5 */ 6 7 namespace mozilla { 8 namespace net { 9 class NeqoDecoder; 10 class NeqoEncoder; 11 class NeqoHttp3Conn; 12 union NetAddr; 13 } // namespace net 14 } // namespace mozilla 15 """ 16 include_version = true 17 include_guard = "NEQO_GLUE_FFI_GENERATED_H_" 18 braces = "SameLine" 19 line_length = 100 20 tab_width = 2 21 language = "C++" 22 namespaces = ["mozilla", "net"] 23 includes = ["certt.h", "prerror.h", "nsString.h", "nsTArray.h"] 24 25 [export] 26 exclude = ["NeqoDecoder", "NeqoEncoder", "NeqoHttp3Conn", "NetAddr"] 27 item_types = ["globals", "enums", "structs", "unions", "typedefs", "opaque", "functions", "constants"] 28 29 [export.rename] 30 "ThinVec" = "nsTArray"