servicepoint-binding-c/cbindgen.toml
Vinzenz Schroeter 4ab5305377 add example helper, translate more examples
update to wip servicepoint lib
2025-05-10 15:01:49 +02:00

48 lines
1 KiB
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"
include_guard = "SERVICEPOINT_BINDINGS_C"
[parse]
parse_deps = true
include = ["servicepoint", "std"]
extra_bindings = ["servicepoint", "servicepoint_binding_c"]
[parse.expand]
features = ["full"]
[export]
include = []
exclude = ["BitVec"]
[export.rename]
"SPCommand" = "Command"
"DisplayBitVec" = "BitVec"
[enum]
rename_variants = "QualifiedScreamingSnakeCase"
[ptr]
non_null_attribute = "/*notnull*/"