language = "C++" style = "type" header = """ /* Copyright 2023 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ // clang-format off """ trailer = """ // clang-format on """ pragma_once = true autogen_warning = """ /* WARNING: this file is autogenerated by cbindgen. Don't modify this manually. Additionally, you should _not_ rely upon the layouts of the generated structs and unions if you want your code to be forward-compatible, unless a given type explicitly states in its documentation that it has a guaranteed forward-compatible layout. Instead, you should use _only_ the provided exported function symbols. */""" include_version = true namespaces = ["np_ffi", "internal"] sort_by = "None" # Use order specified in Rust [enum] rename_variants = "None" [parse] parse_deps = true include = ["np_c_ffi", "np_ffi_core"]