Sha256: 3f5ed47be15c9188bfd036d427a839c149a53046948180ca233e2c9797a8ab5b

Contents?: true

Size: 477 Bytes

Versions: 15

Compression:

Stored size: 477 Bytes

Contents

#include <stddef.h>

#ifndef	_STDLIB_H
#define	_STDLIB_H	1

void *rust_zstd_wasm_shim_malloc(size_t size);
void *rust_zstd_wasm_shim_calloc(size_t nmemb, size_t size);
void rust_zstd_wasm_shim_free(void *ptr);

inline void *malloc(size_t size) {
	return rust_zstd_wasm_shim_malloc(size);
}

inline void *calloc(size_t nmemb, size_t size) {
	return rust_zstd_wasm_shim_calloc(nmemb, size);
}

inline void free(void *ptr) {
	rust_zstd_wasm_shim_free(ptr);
}

#endif // _STDLIB_H

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
wasmtime-13.0.0 ./ext/cargo-vendor/zstd-sys-2.0.8+zstd.1.5.5/wasm-shim/stdlib.h
wasmtime-12.0.1 ./ext/cargo-vendor/zstd-sys-2.0.8+zstd.1.5.5/wasm-shim/stdlib.h
wasmtime-12.0.0 ./ext/cargo-vendor/zstd-sys-2.0.8+zstd.1.5.5/wasm-shim/stdlib.h
wasmtime-11.0.0 ./ext/cargo-vendor/zstd-sys-2.0.8+zstd.1.5.5/wasm-shim/stdlib.h
wasmtime-10.0.1 ./ext/cargo-vendor/zstd-sys-2.0.8+zstd.1.5.5/wasm-shim/stdlib.h
wasmtime-10.0.0 ./ext/cargo-vendor/zstd-sys-2.0.8+zstd.1.5.5/wasm-shim/stdlib.h
wasmtime-9.0.4 ./ext/cargo-vendor/zstd-sys-2.0.8+zstd.1.5.5/wasm-shim/stdlib.h
wasmtime-9.0.1 ./ext/cargo-vendor/zstd-sys-2.0.8+zstd.1.5.5/wasm-shim/stdlib.h
wasmtime-8.0.0 ./ext/cargo-vendor/zstd-sys-2.0.8+zstd.1.5.5/wasm-shim/stdlib.h
wasmtime-7.0.0 ./ext/cargo-vendor/zstd-sys-2.0.7+zstd.1.5.4/wasm-shim/stdlib.h
wasmtime-6.0.1 ./ext/cargo-vendor/zstd-sys-2.0.7+zstd.1.5.4/wasm-shim/stdlib.h
wasmtime-6.0.0 ./ext/cargo-vendor/zstd-sys-2.0.7+zstd.1.5.4/wasm-shim/stdlib.h
wasmtime-5.0.0 ./ext/cargo-vendor/zstd-sys-2.0.5+zstd.1.5.2/wasm-shim/stdlib.h
wasmtime-0.4.1 ./ext/cargo-vendor/zstd-sys-2.0.4+zstd.1.5.2/wasm-shim/stdlib.h
wasmtime-0.4.0 ./ext/cargo-vendor/zstd-sys-2.0.4+zstd.1.5.2/wasm-shim/stdlib.h