API reference › @evolu/sqlite-wasm › c-api › sqlite3_malloc
function sqlite3_malloc(
deps: SqliteWasmDep,
): (byteLength: number) => 0 | SqliteOwnedPtr;
Defined in: packages/sqlite-wasm/src/CApi.ts:1049
Allocates at least byteLength bytes, returning NULL when out of memory or when byteLength is zero or negative.
Wasm type i(i). Signature ["sqlite3_malloc", "*", "int"] from SQLite's
table.