Skip to main content

mathtex_portable_engine_generated/
lib.rs

1//! Auto-patched portable engine source from Web2C/C2Rust bootstrap output.
2
3pub mod runtime;
4// Shared TeX core, split into per-symbol-group partial `impl` blocks under
5// `functions/`. The union of those bodies is the complete shared core.
6pub(crate) mod functions;
7// Generated per-profile import metadata (id, kind, capabilities, source chain,
8// pool, allowed host boundaries) for the tex/etex/xetex import profiles.
9pub mod profiles;
10// Profile-specific (xetex-only) patched functions live in `dispatch`.
11pub(crate) mod dispatch;
12
13pub use profiles::{
14    ImportCapabilities, ImportProfile, ImportProfileKind, ImportStateBounds, IMPORT_PROFILES,
15};
16
17pub use runtime::memory_word_bytes;
18pub use runtime::{
19    EmptyFontPlatform, EmptyPlatform, EmptyResourceProvider, EngineProfile, EngineProfileKind,
20    FontPlatform, GlyphAssembly, PortableClock, PortableFontHandle, PortableFontMetrics,
21    PortableFormatImage, PortableHostBox, PortableHostBoxGlyph, PortableHostBoxRequest,
22    PortableHostBoxRule, PortableHostBoxRun, PortableHostBoxStyle, PortableLinebreakRequest,
23    PortableMathAssemblyPart, PortableMathKernCorner, PortableMathVariant, PortableNativeGlyph,
24    PortableNativeGlyphMetrics, PortableNativeTextMetrics, PortableNodeHandle, PortableNodeKind,
25    PortableNodeSnapshot, PortableNodeSourceSpan, PortablePlatform,
26    PortableResourceRequestRecord, PortableSourceSpan, PortableTexEngine, ResourceKind,
27    ResourceProvider, ResourceRequest,
28};