better docs for C

This commit is contained in:
Dustin J. Mitchell
2022-02-16 01:01:35 +00:00
parent b1d537ac87
commit 741cb84430
6 changed files with 191 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ fn codegen() -> anyhow::Result<()> {
Builder::new()
.with_crate(&lib_crate_dir)
.with_config(Config {
header: Some(include_str!("../../lib/header-intro.h").into()),
language: Language::C,
cpp_compat: true,
sys_includes: vec!["stdbool.h".into(), "stdint.h".into(), "time.h".into()],