Skip to main content

ly_ctx_compiled_print

Function ly_ctx_compiled_print 

Source
pub unsafe extern "C" fn ly_ctx_compiled_print(
    ctx: *const ly_ctx,
    mem: *mut c_void,
    mem_end: *mut *mut c_void,
) -> Type
Expand description

@brief Print (serialize) a compiled context (without any parsed modules) into a pre-allocated memory chunk.

@param[in] ctx Compiled context to print. @param[in] mem Memory to print to, must be large enough. @param[out] mem_end Optional pointer after the printed context. @return LY_ERR value.