1 /* 2 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. 3 * 4 * HDF is dual licensed: you can use it either under the terms of 5 * the GPL, or the BSD license, at your option. 6 * See the LICENSE file in the root of this repository for complete details. 7 */ 8 9 #ifndef HCS_COMPILER_MEM_H 10 #define HCS_COMPILER_MEM_H 11 12 #include <stdint.h> 13 14 void *HcsMemAlloc(uint32_t size); 15 16 void *HcsMemZalloc(uint32_t size); 17 18 void HcsMemFree(void *ptr); 19 20 #endif // HCS_COMPILER_MEM_H 21