14 lines
670 B
Markdown
14 lines
670 B
Markdown
# Bindings — placeholder
|
|||
|
|
|
||
|
|
Language bindings over the C++ engine. Not implemented yet.
|
||
|
|
|
||
|
|
- `c_abi/` — stable C ABI (`int error_code` returns, opaque handles). Consumed
|
||
|
|
by .NET and Python `ctypes`. This ABI is **frozen in Phase 0** alongside the
|
||
|
|
`PdfDocument` / `PdfPage` interface contracts (Gate G0b) and must not change
|
||
|
|
without a version bump. Phase 3 ships `.so` / `.dylib` / `.dll` packages from it.
|
||
|
|
- `python/` — **pybind11** module used by the FastAPI gateway. Exposes
|
||
|
|
`render_page()`, `apply_edits()`, `extract_text()`.
|
||
|
|
|
||
|
|
Internal engine code uses `std::expected<T, E>`; the C ABI surface translates
|
||
|
|
that to `int error_code` (engine blueprint §16.2).
|