allocators.h 456 B

1234567891011121314151617
  1. /*
  2. * Copyright (c) 2023 HPMicro
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. *
  6. */
  7. #ifndef _ALLOCATORS_H_
  8. #define _ALLOCATORS_H_
  9. #include <stdlib.h>
  10. void * __freertos_allocate(size_t size, void *state);
  11. void __freertos_deallocate(void *pointer, void *state);
  12. void * __freertos_reallocate(void *pointer, size_t size, void *state);
  13. void * __freertos_zero_allocate(size_t number_of_elements, size_t size_of_element, void *state);
  14. #endif // _ALLOCATORS_H_