Skip to content

Commit

Permalink
chore(ffi): change hyper.h to only include first line of docs (#3373)
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 authored Oct 26, 2023
1 parent cf87eda commit 277d055
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 277d055

Please sign in to comment.