From 5b6f1de361ce42662446b2c1b5f6fddf980dc168 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Mon, 1 Jul 2019 10:57:54 +0200 Subject: [PATCH] Add a cbindgen.toml - Produce a C header instead of C++ - Report the license in the file --- cbindgen.toml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 cbindgen.toml diff --git a/cbindgen.toml b/cbindgen.toml new file mode 100644 index 0000000..0d8728e --- /dev/null +++ b/cbindgen.toml @@ -0,0 +1,7 @@ +header = "// SPDX-License-Identifier: MIT OR Apache-2.0" +sys_includes = ["stddef.h", "stdint.h", "stdlib.h"] +no_includes = true +include_guard = "LEWTON_LEWTON_H" +tab_width = 4 +style = "Type" +language = "C"