mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-25 09:39:37 +00:00
FFI: Make cbindgen generate extern C block for C++, use qualified screaming snake case for enum variants.
This commit is contained in:
parent
989b6bb310
commit
1a49a8dac1
|
@ -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__"
|
||||
|
|
Loading…
Reference in New Issue
Block a user