[inc]: change LOG_TAG to MODULE_TAG for more general usage

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@38 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-08-05 10:04:45 +00:00
parent 7a8f2b7249
commit 764d72e7c5
9 changed files with 28 additions and 16 deletions

View File

@@ -18,8 +18,9 @@
#define __RK_MALLOC_H__
#include <stdlib.h>
#include "rk_type.h"
#define rk_malloc(type, count) (type*)rk_mpp_malloc(sizeof(type) * (count))
#define rk_malloc(type, count) (type*)rk_mpp_malloc(MODULE_TAG, sizeof(type) * (count))
#define rk_free(ptr) rk_mpp_free(ptr)
#ifdef __cplusplus
@@ -27,7 +28,7 @@ extern "C" {
#endif
void rk_mpp_show_mem_status();
void *rk_mpp_malloc(size_t size);
void *rk_mpp_malloc(char *tag, size_t size);
void rk_mpp_free(void *ptr);
#ifdef __cplusplus