libmoq 0.6.10

Media over QUIC, C bindings
Documentation
# cbindgen configuration for libmoq.
#
# NOT loaded: build.rs drives cbindgen through `Builder::new()`, which never
# discovers this file, and passes its own config. Of the settings below, only
# `pragma_once` and `cpp_compat` reach the generated moq.h, because build.rs sets
# them itself; the rest (the MOQ_H include guard, the renaming) do not. Loading
# it now would rename every struct field and type in the published C API, so
# the options a build actually uses live in build.rs.

language = "C"
include_guard = "MOQ_H"
autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */"
pragma_once = true
cpp_compat = true
style = "both"

[export]
prefix = "Moq"

[export.rename]

[parse]
parse_deps = false

[layout]
aligned_n = "MOQ_ALIGN"

[defines]
"target_os = windows" = "MOQ_WINDOWS"
"target_os = linux" = "MOQ_LINUX"
"target_os = macos" = "MOQ_MACOS"

[fn]
prefix = "moq_"
rename_args = "GeckoCase"

[struct]
rename_fields = "ScreamingSnakeCase"

[enum]
rename_variants = "ScreamingSnakeCase"

[macro_expansion]
bitflags = true