Skip to main content

reference_c_preprocessor_load_includes

Function reference_c_preprocessor_load_includes 

Source
pub fn reference_c_preprocessor_load_includes<M: CPreprocessorSourceManager>(
    tok_types: &[u32],
    tok_starts: &[u32],
    tok_lens: &[u32],
    source: &[u8],
    manager: &M,
) -> Result<Vec<CResolvedInclude>, CPreprocessorError>
๐Ÿ‘ŽDeprecated:

CPU reference oracle only; production include loading must use the GPU preprocessor pipeline source-manager path

Expand description

Load all include directives from a compact token stream through manager.

ยงErrors

Returns a diagnostic when token streams are inconsistent, a directive span is invalid, an include payload is malformed, or the source manager rejects a load.