diff options
Diffstat (limited to 'cbindgen.toml')
| -rw-r--r-- | cbindgen.toml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/cbindgen.toml b/cbindgen.toml new file mode 100644 index 0000000..d333dda --- /dev/null +++ b/cbindgen.toml @@ -0,0 +1,45 @@ +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 JV_FreeString(). + */ +""" + +include_guard = "JVLIB_H" + +include_version = true + +[parse] +parse_deps = true +include = ["constants"] +extra_bindings = ["constants"] +expand = { crates = ["constants"] } + +[export] +include = ["JV_.*"] +exclude = [] + +[fn] +sort_by = "Name" +rename_args = "None" + +[const] +sort_by = "Name" + +[struct] +rename_fields = "None" + +[enum] +rename_variants = "None" +enum_class = false |
