language = "C"
header = """
/*
* zerodds.h — ZeroDDS C-FFI (auto-generated by cbindgen, do not edit).
*
* This header is the language-agnostic hub used by:
* - C++ binding (psm-cxx Method-Bodies in `crates/cpp/`)
* - C# binding (P/Invoke wrapper in `crates/cs/`)
* - TypeScript binding (node-ffi-napi + WASM, `crates/ts-node-runtime/`)
* - Embedded C clients
* - Apex.AI performance_test ZeroDDS-Plugin
* - ROS 2 RMW adapter (rmw_zerodds)
*
* Java + Python use their own native bridges (jni-rs / pyo3) and
* do NOT go through this header.
*
* Memory ownership: handles returned by zerodds_*_create() must be
* released with the matching zerodds_*_destroy() — no auto-cleanup
* on FFI boundaries. Bytes returned via zerodds_reader_take() must
* be released with zerodds_buffer_free().
*/
"""
include_guard = "ZERODDS_H"
autogen_warning = "/* WARNING: AUTO-GENERATED — DO NOT EDIT */"
no_includes = false
sys_includes = ["stdint.h", "stddef.h", "stdbool.h"]
includes = []
documentation = true
documentation_style = "doxy"
cpp_compat = true
[parse]
parse_deps = false
[export]
prefix = "zerodds_"
item_types = ["functions", "structs", "enums", "typedefs", "opaque"]
exclude = [
"ConditionKind",
]