mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-03-01 03:55:23 +00:00

Upgrade WAMR-IDE: test-tools/wamr-ide folder - add `wamr-sdk` to include libc-builtin-sysroot header files - add `prettier` check and apply script in `package.json` - update `wasm-toolchain` dockerfile and resource - enhance `build | run | debug` process to clean up the container - enhance the change workspace - enhance `wasm` type project check before building, running and debugging - format the project_compilation.json - update documents
34 lines
570 B
C
34 lines
570 B
C
/*
|
|
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
*/
|
|
|
|
#ifndef _WAMR_LIBC_STDLIB_H
|
|
#define _WAMR_LIBC_STDLIB_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef unsigned long size_t;
|
|
|
|
int
|
|
atoi(const char *s);
|
|
void
|
|
exit(int status);
|
|
long
|
|
strtol(const char *nptr, char **endptr, register int base);
|
|
unsigned long
|
|
strtoul(const char *nptr, char **endptr, register int base);
|
|
void *
|
|
malloc(size_t size);
|
|
void *
|
|
calloc(size_t n, size_t size);
|
|
void
|
|
free(void *ptr);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif |