stdlib.h 380 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (C) 2019 Intel Corporation. All rights reserved.
  3. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. */
  5. #ifndef _WAMR_LIBC_STDLIB_H
  6. #define _WAMR_LIBC_STDLIB_H
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. typedef unsigned int size_t;
  11. void *malloc(size_t size);
  12. void *calloc(size_t n, size_t size);
  13. void free(void *ptr);
  14. #ifdef __cplusplus
  15. }
  16. #endif
  17. #endif