Skip to content

Commit

Permalink
chore(ffi): change hyper.h to only include first line of docs (hyperi…
Browse files Browse the repository at this point in the history
…um#3373)

This will let us write much more documentation per item without worrying
about increasing the size of the hyper.h header file.

Signed-off-by: Sven Pfennig <[email protected]>
  • Loading branch information
seanmonstar authored and 0xE282B0 committed Jan 16, 2024
1 parent 873a64c commit f092a17
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 f092a17

Please sign in to comment.