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