Skip to main content

tinyxml2_capi/
lib.rs

1//! C FFI compatibility layer for tinyxml2-rs.
2//!
3//! This crate provides `extern "C"` functions that expose the tinyxml2 Rust API
4//! through a C-compatible ABI. It produces both static and shared libraries.
5//!
6//! # Safety
7//!
8//! This crate necessarily uses `unsafe` at the FFI boundary. All public functions
9//! validate inputs and catch panics to prevent undefined behavior across the
10//! FFI boundary.
11
12// C API implementation will be added in Phase 6.