ei_mem.h 707 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. *------------------------------------------------------------------------------
  3. * @File : ei_mem.h
  4. * @Date : 2021-5-25
  5. * @Author : lomboswer <lomboswer@lombotech.com>
  6. * @Brief : Media Interface for MDP(Media Development Platform).
  7. *
  8. * Copyright (C) 2020-2021, LomboTech Co.Ltd. All rights reserved.
  9. *------------------------------------------------------------------------------
  10. */
  11. #include <stdlib.h>
  12. #include <string.h>
  13. #ifndef EI_MEM_H
  14. #define EI_MEM_H
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. void *ei_malloc(size_t size);
  19. void *ei_calloc(int n, size_t size);
  20. void *ei_realloc(void *p, int n);
  21. void ei_free(void *mem);
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif