[rk_malloc]: add rk_malloc unit test for linux

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@28 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-08-05 02:23:57 +00:00
parent c0c5222152
commit 9606779e00
2 changed files with 31 additions and 0 deletions

View File

@@ -17,6 +17,8 @@
#ifndef __RK_MALLOC_H__
#define __RK_MALLOC_H__
#include <stdlib.h>
#define rk_malloc(type, count) (type*)rk_mpp_malloc(sizeof(type) * (count))
#define rk_free(ptr) rk_mpp_free(ptr)