2024-05-12 21:14:23 +02:00
|
|
|
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. */"
|
|
|
|
|
|
2024-05-12 21:14:23 +02:00
|
|
|
############################ 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"
|
2024-05-12 21:14:23 +02:00
|
|
|
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
|
2024-09-07 14:19:18 +02:00
|
|
|
sort_by = "Name"
|
|
|
|
|
|
2024-05-25 11:16:37 +02:00
|
|
|
[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"]
|
2024-05-25 11:16:37 +02:00
|
|
|
|
2024-05-12 21:14:23 +02:00
|
|
|
[parse.expand]
|
2025-04-11 20:43:13 +02:00
|
|
|
features = ["full"]
|
2024-09-07 13:22:41 +02:00
|
|
|
|
|
|
|
|
[export]
|
|
|
|
|
include = []
|
|
|
|
|
exclude = []
|
2024-10-13 17:36:32 +02:00
|
|
|
|
2025-04-12 10:54:47 +02:00
|
|
|
[export.rename]
|
|
|
|
|
"TypedCommand" = "Command"
|
|
|
|
|
|
2024-10-13 17:36:32 +02:00
|
|
|
[enum]
|
|
|
|
|
rename_variants = "QualifiedScreamingSnakeCase"
|