History

Use char instead of str_t

Martin Storsjö committed 12 years ago

Commit f2bd22a1 parent 7b96c6734 files · +131 −135Browse files

Showing the changes to codec/encoder/core/src/memory_align.cpp (1 of 34 files). Show all

Unified · Split

codec/encoder/core/src/memory_align.cpp+3−3
@@ -66,7 +66,7 @@ CMemoryAlign::~CMemoryAlign() { · 65 unmodified lines
6666 #endif//MEMORY_CHECK
6767 }
6868
69−void* CMemoryAlign::WelsMallocz (const uint32_t kuiSize, const str_t* kpTag) {
69+void* CMemoryAlign::WelsMallocz (const uint32_t kuiSize, const char* kpTag) {
7070 void* pPointer = WelsMalloc (kuiSize, kpTag);
7171 if (NULL == pPointer) {
7272 return NULL;
@@ -77,7 +77,7 @@ void* CMemoryAlign::WelsMallocz (const uint32_t kuiSize, const str_t* kpTag) { · 4 unmodified lines
7777 return pPointer;
7878 }
7979
80−void* CMemoryAlign::WelsMalloc (const uint32_t kuiSize, const str_t* kpTag) {
80+void* CMemoryAlign::WelsMalloc (const uint32_t kuiSize, const char* kpTag) {
8181 const int32_t kiSizeOfVoidPointer = sizeof (void**);
8282 const int32_t kiSizeOfInt = sizeof (int32_t);
8383 const int32_t kiAlignedBytes = m_nCacheLineSize - 1;
@@ -114,7 +114,7 @@ void* CMemoryAlign::WelsMalloc (const uint32_t kuiSize, const str_t* kpTag) { · 30 unmodified lines
114114 return pAlignedBuffer;
115115 }
116116
117−void CMemoryAlign::WelsFree (void* pPointer, const str_t* kpTag) {
117+void CMemoryAlign::WelsFree (void* pPointer, const char* kpTag) {
118118 if (pPointer) {
119119 #ifdef MEMORY_MONITOR
120120 const int32_t kiMemoryLength = * ((int32_t*) ((uint8_t*)pPointer - sizeof (void**) - sizeof (

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t