mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 17:46:50 +08:00
[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:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user