servicepoint-binding-c/cbindgen.toml

42 lines
891 B
TOML
Raw Normal View History

language = "C"
include_version = true
cpp_compat = true
2024-09-07 13:22:41 +02:00
autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */"
############################ Code Style Options ################################
braces = "SameLine"
line_length = 80
tab_width = 4
documentation = true
documentation_style = "auto"
documentation_length = "full"
line_endings = "LF"
############################# Codegen Options ##################################
2024-10-16 18:34:21 +02:00
style = "type"
usize_is_size_t = true
2025-04-12 10:54:47 +02:00
# this is needed because otherwise the order in the C bindings is different on different machines
sort_by = "Name"
[parse]
2025-04-12 10:54:47 +02:00
parse_deps = true
include = ["servicepoint"]
2025-04-12 12:12:51 +02:00
extra_bindings = ["servicepoint"]
[parse.expand]
2025-04-11 20:43:13 +02:00
features = ["full"]
2024-09-07 13:22:41 +02:00
[export]
include = []
exclude = []
2025-04-12 10:54:47 +02:00
[export.rename]
"TypedCommand" = "Command"
[enum]
rename_variants = "QualifiedScreamingSnakeCase"