singe/thirdparty/rockchip-mpp/osal/os_mem.h
2026-09-10 20:17:28 -05:00

23 lines
395 B
C

/* SPDX-License-Identifier: Apache-2.0 OR MIT */
/*
* Copyright (c) 2015 Rockchip Electronics Co., Ltd.
*/
#ifndef OS_MEM_H
#define OS_MEM_H
#ifdef __cplusplus
extern "C" {
#endif
int os_malloc(void **memptr, size_t alignment, size_t size);
int os_realloc(void *src, void **dst, size_t alignment, size_t size);
void os_free(void *ptr);
#ifdef __cplusplus
}
#endif
#endif /* OS_MEM_H */