Made a review

My implementation is now compiling and running.
I've made a test with the WIN32-MSVC demo.
This commit is contained in:
Sven Bieg 2024-04-14 10:43:09 +02:00
parent 0a61cf54e7
commit e473cf6caa
10 changed files with 66 additions and 85 deletions

View file

@ -10,7 +10,7 @@
// Using
//=======
#include "heap_private.h"
#include "block_map.h"
#include "parent_group.h"
@ -37,6 +37,8 @@ return block_map_parent_group_get_item((block_map_parent_group_t*)group, size);
size_t block_map_group_get_last_size(block_map_group_t* group)
{
if(group==NULL)
return 0;
if(cluster_group_get_level(group)==0)
return block_map_item_group_get_last_size((block_map_item_group_t*)group);
return ((block_map_parent_group_t*)group)->last_size;