libxslt-wasm
Version:
JavaScript bindings for libxslt compiled to WebAssembly
12 lines (11 loc) • 419 B
TypeScript
export 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`
*/
export declare const NULL_POINTER = 0;