Skip to content

Commit

Permalink
chore(ffi): change hyper.h to only include first line of docs
Browse files Browse the repository at this point in the history
This will let us write much more documentation per item without worrying
about increasing the size of the hyper.h header file.
  • Loading branch information
seanmonstar committed Oct 24, 2023
1 parent 04f0981 commit e9db1ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 304 deletions.
7 changes: 5 additions & 2 deletions capi/cbindgen.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# See https://github.com/eqrion/cbindgen/blob/master/docs.md#cbindgentoml for
# See https://github.com/mozilla/cbindgen/blob/master/docs.md#cbindgentoml for
# a list of possible configuration values.
language = "C"
header = """/*
* Copyright 2021 Sean McArthur. MIT License.
* Copyright 2023 Sean McArthur. MIT License.
* Generated by gen_header.sh. Do not edit directly.
*
* Full docs at: https://docs.rs/hyper/latest/hyper/ffi/index.html
*/"""
include_guard = "_HYPER_H"
no_includes = true
sys_includes = ["stdint.h", "stddef.h", "stdbool.h"]
cpp_compat = true
documentation_style = "c"
documentation_length = "short"
Loading

0 comments on commit e9db1ae

Please sign in to comment.