# Config for `scripts/generate_capi_header.sh`, which regenerates
# `go/internal/capi/dxpdf.h` by running cbindgen against `src/capi.rs`
# *directly* (not the crate root) — pointing cbindgen at the whole crate
# walks every `pub` item in every module (this crate uses `pub` liberally
# for cross-module organization, not as a stable-API marker), producing a
# header full of unrelated internal types. Scoping the input to the one file
# that is the actual ABI surface sidesteps that entirely: cbindgen only sees
# `capi.rs`'s own items, so no `[export]`/`[parse.expand]` filtering is
# needed, and no nightly toolchain either — `expand` (the only way cbindgen
# evaluates `#[cfg(feature = ...)]` for real) shells out to
# `-Zunpretty=expanded`, a nightly-only flag, but capi.rs has no macros for
# it to expand anyway.
= "C"
= """\
/* Generated by cbindgen from src/capi.rs. Do not edit by hand — run
* scripts/generate_capi_header.sh instead. */"""
= "DXPDF_CAPI_H"
= ""