libxslt-wasm
Version:
JavaScript bindings for libxslt compiled to WebAssembly
13 lines (12 loc) • 444 B
TypeScript
declare const POINTER_SIZE: number;
/**
* Emscripten represents a `ptr` as a `number` where `NULL` is `0`. This is true
* for the output of any C functions and of the emitted TypeScript.
*
* Unfortunately, in WebAssembly, 0 is a valid location in memory.
*
* @remarks Every instance of 0 is not necessarily a null pointer; it can
* indicate just a regular `int`
*/
declare const NULL_POINTER = 0;
export { NULL_POINTER, POINTER_SIZE };