finsh_heap.h 573 B

1234567891011121314151617181920212223
  1. /*
  2. * File : finsh_heap.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2006 - 2010, RT-Thread Development Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2010-03-22 Bernard first version
  13. */
  14. #include <finsh.h>
  15. #ifndef __FINSH_HEAP_H__
  16. #define __FINSH_HEAP_H__
  17. int finsh_heap_init(void);
  18. void* finsh_heap_allocate(size_t size);
  19. void finsh_heap_free(void*ptr);
  20. #endif