pub(crate) type ArrayOfTargetStrings = Vec<Vec<u16>>;
pub(crate) type SourceCode = u32;
pub(crate) type CodeLen = u8;
pub(crate) type SourceRangeMapping = ((SourceCode, SourceCode, CodeLen), ArrayOfTargetStrings);
pub(crate) type SourceCharMapping = ((SourceCode, CodeLen), Vec<u16>);
#[derive(Debug, PartialEq)]
pub enum CMapSection {
CsRange(Vec<(SourceCode, SourceCode, CodeLen)>),
BfChar(Vec<SourceCharMapping>),
BfRange(Vec<SourceRangeMapping>),
}
#[derive(Debug)]
pub enum CMapParseError {
Incomplete,
Error,
}