Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Provisional API: This reference documents current compiler behavior. Compatibility is not yet promised.

src/translation.x

Synchronous compiler translation requests.

Functions

FunctionSummary
translate_requestTranslates a request synchronously.

Functions

translate_request

int translate_request( CliRequest request, Map unit_dirs, void *context, void (*progress)(void *context, String input, int completed))

Translates a request synchronously. Optional per-input directories and a parent-process progress callback let a caller own build state. Without a callback, translation reports its own progress and receipt.

Source: src/translation.x:206