Core API
This chapter covers the LibXR core headers: data types, error handling, callbacks, read/write ports, timestamps and terminal formatting.
Overview
libxr_def: Common macro definitions, error codes, and basic constantslibxr_assert: Assertion mechanism and fatal error callbackslibxr_cb: Type-safe callback mechanismlibxr_type: Raw data encapsulation and type identificationlibxr_mem: Memory copy, clear, and compare helperslibxr_string: Retained runtime-built strings (RuntimeStringView)libxr_color: Terminal output formatting and ANSI controlprint: Compile-time formatting output and sink and bounded-buffer wrapperslibxr_time: Microsecond/millisecond-level timestamps and time differenceslibxr_rw: General read/write interfaces and operation encapsulationOperation: Asynchronous completion-feedback modelPipe: Unidirectional pipe built on a shared byte queue