summaryrefslogtreecommitdiff
path: root/cbindgen.toml
blob: 567e75f4243a981ba25e6104048acc3f098bf416 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language = "C"

documentation = true
documentation_style = "doxy"

line_length = 75
tab_width = 2
braces = "SameLine"

header = """
/*!
 * This file is automatically generated by cbindgen.
 * DO NOT EDIT THIS FILE MANUALLY.
 *
 * All string-returning functions allocate memory that must be freed using Butck_FreeString().
 */

#define BUTCK_HASH_BLAKE3 0
#define BUTCK_HASH_SHA256 1
"""

include_guard = "BUTCK_H"

include_version = true

[parse]
parse_deps = true
include = ["constants"]
extra_bindings = ["constants"]
expand = { crates = ["constants"] }

[export]
include = ["*"]
exclude = []

[fn]
sort_by = "Name"
rename_args = "None"

[const]
sort_by = "Name"

[struct]
rename_fields = "None"

[enum]
rename_variants = "None"
enum_class = false