Skip to main content

sql_dialect_fmt_alloc

Function sql_dialect_fmt_alloc 

Source
#[unsafe(no_mangle)]
pub extern "C" fn sql_dialect_fmt_alloc(len: u32) -> u32
Expand description

Allocate a writable byte buffer in Wasm memory.

JavaScript should copy UTF-8 bytes into the returned pointer, call sql_dialect_fmt_format, then free this input buffer with sql_dialect_fmt_dealloc(ptr, len).