servicepoint-binding-c/cbindgen.toml
Vinzenz Schroeter a418e4f0c3
Some checks failed
Rust / build (pull_request) Failing after 30s
sp_brightness_grid_load ignore out of range
2025-04-12 18:49:12 +02:00

46 lines
963 B
TOML

language = "C"
include_version = true
cpp_compat = true
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 ##################################
style = "type"
usize_is_size_t = true
# this is needed because otherwise the order in the C bindings is different on different machines
sort_by = "Name"
[parse]
parse_deps = true
include = ["servicepoint", "std"]
extra_bindings = ["servicepoint"]
[parse.expand]
features = ["full"]
[export]
include = []
exclude = []
[export.rename]
"SpBitVec" = "BitVec"
"SpByteSlice" = "ByteSlice"
[enum]
rename_variants = "QualifiedScreamingSnakeCase"
[ptr]
non_null_attribute = "/*notnull*/"