1# For documentation, see: https://github.com/eqrion/cbindgen/blob/master/docs.md 2 3include_version = true 4braces = "SameLine" 5line_length = 100 6tab_width = 4 7language = "C++" 8pragma_once = true 9no_includes = true 10sys_includes = ["stdint.h", "sys/types.h"] 11header = """ 12// This file is autogenerated by: 13// cbindgen --config cbindgen.toml src/lib.rs -o include/lib.rs.h 14// Don't modify manually. 15""" 16documentation = true 17style = "tag" 18namespaces = ["test", "rust"] 19 20[export] 21item_types = ["globals", "enums", "structs", "unions", "typedefs", "opaque", "functions", "constants"] 22 23[parse] 24parse_deps = true 25include = ["doh"] 26 27[fn] 28args = "auto" 29 30[struct] 31associated_constants_in_body = true 32 33[enum] 34add_sentinel = true 35derive_helper_methods = true 36derive_ostream = true 37 38[macro_expansion] 39bitflags = true 40