| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2016, the Dartino project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE.md file. | |
| 4 | |
| 5 #ifndef PLATFORMS_STM_DISCO_FLETCH_SRC_CMPCTMALLOC_H_ | |
| 6 #define PLATFORMS_STM_DISCO_FLETCH_SRC_CMPCTMALLOC_H_ | |
| 7 | |
| 8 #ifdef __cplusplus | |
| 9 extern "C" { | |
| 10 #endif | |
| 11 | |
| 12 #include <stddef.h> | |
| 13 | |
| 14 void *cmpct_alloc(size_t size); | |
| 15 void *cmpct_realloc(void *ptr, size_t size); | |
| 16 void cmpct_free(void *ptr); | |
| 17 void *cmpct_memalign(size_t size, size_t alignment); | |
| 18 | |
| 19 void cmpct_init(void); | |
| 20 void cmpct_dump(void); | |
| 21 void cmpct_test(void); | |
| 22 void cmpct_trim(void); | |
| 23 | |
| 24 #ifdef __cplusplus | |
| 25 } | |
| 26 #endif | |
| 27 | |
| 28 #endif // PLATFORMS_STM_DISCO_FLETCH_SRC_CMPCTMALLOC_H_ | |
| OLD | NEW |