Sha256: 44fda640c2b5a0dc77dbedf8c22ae945fbe48d129b1fc95b152795e700cdb52a

Contents?: true

Size: 860 Bytes

Versions: 23

Compression:

Stored size: 860 Bytes

Contents

#include <stdlib.h>

#ifndef	_STRING_H
#define	_STRING_H	1

int rust_zstd_wasm_shim_memcmp(const void *str1, const void *str2, size_t n);
void *rust_zstd_wasm_shim_memcpy(void *restrict dest, const void *restrict src, size_t n);
void *rust_zstd_wasm_shim_memmove(void *dest, const void *src, size_t n);
void *rust_zstd_wasm_shim_memset(void *dest, int c, size_t n);

inline int memcmp(const void *str1, const void *str2, size_t n) {
    return rust_zstd_wasm_shim_memcmp(str1, str2, n);
}

inline void *memcpy(void *restrict dest, const void *restrict src, size_t n) {
	return rust_zstd_wasm_shim_memcpy(dest, src, n);
}

inline void *memmove(void *dest, const void *src, size_t n) {
	return rust_zstd_wasm_shim_memmove(dest, src, n);
}

inline void *memset(void *dest, int c, size_t n) {
	return rust_zstd_wasm_shim_memset(dest, c, n);
}

#endif // _STRING_H

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/wasm-shim/string.h
wasmtime-28.0.0 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/wasm-shim/string.h
wasmtime-27.0.0 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/wasm-shim/string.h
wasmtime-26.0.0 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/wasm-shim/string.h
wasmtime-25.0.2 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/wasm-shim/string.h
wasmtime-25.0.1 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/wasm-shim/string.h
wasmtime-25.0.0 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/wasm-shim/string.h
wasmtime-24.0.0 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/wasm-shim/string.h
wasmtime-23.0.2 ./ext/cargo-vendor/zstd-sys-2.0.10+zstd.1.5.6/wasm-shim/string.h
wasmtime-22.0.0 ./ext/cargo-vendor/zstd-sys-2.0.10+zstd.1.5.6/wasm-shim/string.h
wasmtime-21.0.1 ./ext/cargo-vendor/zstd-sys-2.0.10+zstd.1.5.6/wasm-shim/string.h
wasmtime-20.0.2 ./ext/cargo-vendor/zstd-sys-2.0.10+zstd.1.5.6/wasm-shim/string.h
wasmtime-20.0.0 ./ext/cargo-vendor/zstd-sys-2.0.10+zstd.1.5.6/wasm-shim/string.h
wasmtime-18.0.3 ./ext/cargo-vendor/zstd-sys-2.0.9+zstd.1.5.5/wasm-shim/string.h
wasmtime-17.0.1 ./ext/cargo-vendor/zstd-sys-2.0.9+zstd.1.5.5/wasm-shim/string.h
wasmtime-17.0.0 ./ext/cargo-vendor/zstd-sys-2.0.9+zstd.1.5.5/wasm-shim/string.h
wasmtime-16.0.0 ./ext/cargo-vendor/zstd-sys-2.0.9+zstd.1.5.5/wasm-shim/string.h
wasmtime-15.0.1 ./ext/cargo-vendor/zstd-sys-2.0.9+zstd.1.5.5/wasm-shim/string.h
wasmtime-15.0.0 ./ext/cargo-vendor/zstd-sys-2.0.9+zstd.1.5.5/wasm-shim/string.h
wasmtime-14.0.4 ./ext/cargo-vendor/zstd-sys-2.0.9+zstd.1.5.5/wasm-shim/string.h