1 /* 2 * Copyright (c) 2015 Travis Geiselbrecht 3 * 4 * Use of this source code is governed by a MIT-style 5 * license that can be found in the LICENSE file or at 6 * https://opensource.org/licenses/MIT 7 */ 8 #pragma once 9 10 #include <lk/compiler.h> 11 12 __BEGIN_CDECLS 13 14 void *cmpct_alloc(size_t); 15 void *cmpct_realloc(void *, size_t); 16 void cmpct_free(void *); 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 __END_CDECLS 25