diff --git a/cbindgen.toml b/cbindgen.toml index 533cc46..ddb27e5 100644 --- a/cbindgen.toml +++ b/cbindgen.toml @@ -1,7 +1,12 @@ language = "c" +cpp_compat = true include_guard = "TTS_RS_H" +header = "/* SPDXLicenseIdentifier: MIT */" autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */" +[enum] +rename_variants = "QualifiedScreamingSnakeCase" + [defines] "target_os = linux" = "__linux__" "target_os = macos" = "__APPLE__"