mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-25 13:29:38 +00:00
FFI: Add cbindgen config for generation of C/C++ headers.
This commit is contained in:
parent
56a2d554fa
commit
7c5ceb2bd3
8
cbindgen.toml
Normal file
8
cbindgen.toml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
include_guard = "TTS_RS_H"
|
||||||
|
autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */"
|
||||||
|
|
||||||
|
[defines]
|
||||||
|
"target_os = linux" = "__linux__"
|
||||||
|
"target_os = macos" = "__APPLE__"
|
||||||
|
"target_arch = wasm32" = "__EMSCRIPTEN__"
|
||||||
|
windows = "__WIN32__"
|
Loading…
Reference in New Issue
Block a user