#[unsafe(no_mangle)]pub unsafe extern "C" fn webui_handler_render(
handler_ptr: *mut c_void,
protocol_ptr: *const webui_protocol_t,
data_json: *const c_char,
entry_id: *const c_char,
request_path: *const c_char,
) -> *mut webui_render_tExpand description
Render using a protocol previously returned by webui_protocol_create.
Read the document with webui_render_bytes and release it with
webui_render_free. The rendered buffer is handed over as is,
without a terminator scan or copy. The handle owns the document, preserves
interior NUL bytes, and stays valid after the handler or protocol it was
rendered with is destroyed.
Returns NULL on error; call webui_last_error for details.
ยงSafety
handler_ptrmust be a valid handler pointer.protocol_ptrmust be a valid loaded protocol pointer.- String arguments must be valid null-terminated UTF-8.