1.编码风格修改,宏回到全大写。

This commit is contained in:
MacRsh
2023-12-30 03:28:33 +08:00
parent 0d35810272
commit 3ca21c0221
25 changed files with 282 additions and 283 deletions

View File

@@ -121,7 +121,7 @@ int mr_heap_init(void)
}
/* 字节向上做4对齐 */
size = mr_align4_up(size);
size = MR_ALIGN4_UP(size);
/* 找到符合内存分配大小的内存块 */
while (block->size < size)

View File

@@ -130,7 +130,7 @@ void *mr_malloc(size_t size)
}
/* Align the size to the next multiple of 4 bytes */
size = mr_align4_up(size);
size = MR_ALIGN4_UP(size);
/* Find a memory block that can accommodate the requested size */
while (block->size < size)