libmoq 0.5.5

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. The generated moq.h therefore
# has none of the settings below (no include guard, no `#pragma once`, no
# renaming). 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