Use char instead of str_t

This commit is contained in:
Martin Storsjö
2014-02-08 23:28:42 +02:00
parent 7b96c6756e
commit f2bd22acd5
34 changed files with 131 additions and 135 deletions

View File

@@ -44,7 +44,7 @@ int32_t iCountMalloc = 0;
#endif
//
void* WelsMalloc (const uint32_t kuiSize, const str_t* kpTag) {
void* WelsMalloc (const uint32_t kuiSize, const char* kpTag) {
const int32_t kiSizeVoidPtr = sizeof (void**);
const int32_t kiSizeInt = sizeof (int32_t);
const int32_t kiAlignBytes = 15;
@@ -84,7 +84,7 @@ void* WelsMalloc (const uint32_t kuiSize, const str_t* kpTag) {
/////////////////////////////////////////////////////////////////////////////
void WelsFree (void* pPtr, const str_t* kpTag) {
void WelsFree (void* pPtr, const char* kpTag) {
if (pPtr) {
#ifdef MEMORY_CHECK
if (NULL != pMemCheckFree && kpTag != NULL) {