sqlite_wasm_rs::c

Function sqlite3_result_blob

Source
pub unsafe fn sqlite3_result_blob(
    ctx: *mut sqlite3_context,
    blob: *const c_void,
    blobLen: c_int,
    dtor: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
)
Expand description

Sets the result from an application-defined function to be the BLOB whose content is pointed to by the second parameter and which is blobLen bytes long.

See https://www.sqlite.org/c3ref/result_blob.html