// The C ABI — the SAME six functions for the iPhone AND the Mac, through the// SAME generated header (`crates/cotton-ffi/include/cotton_ffi.h`, written by// cbindgen from `src/ffi.rs` and guarded by `cargo test -p cotton-ffi`).//// Since H2 there is ONE module map for both destinations, because there is ONE// XCFramework: `scripts/build-xcframework.sh` builds the two iOS slices (the// client build) and, with `--with-mac` / `--mac-only`, the macOS slice (the// host build), and `xcodebuild -create-xcframework` takes a HEADERS DIRECTORY,// so this file names a header BESIDE itself rather than the committed path.//// That is not a second declaration of the ABI, and it is kept from becoming// one by construction rather than by care: the script copies BOTH this file// and the committed header into the archive's headers directory on every run,// from their one source each, and refuses if either is missing. The archive is// a build product and gitignored, so the copy inside it cannot outlive the// header it was made from — the only way to produce one is to run the script,// and the script has no way to produce a stale one.//// Both ends are asserted from the Rust side (`crates/cotton-ffi/tests/header.rs`):// this file's path and its `header "cotton_ffi.h"`, and the script's naming of// the committed header — so moving any of the three goes red rather than quiet.module CottonFFI { header "cotton_ffi.h" export *}