Function source_map_mappings_wasm_api::allocate_mappings [] [src]

#[no_mangle]
pub extern "C" fn allocate_mappings(size: usize) -> *mut u8

Allocate space for a mappings string of the given size (in bytes).

It is the JS callers responsibility to initialize the resulting buffer by copying the JS String holding the source map's "mappings" into it (encoded in ascii).