uint8*block=(uint8*)aligned_malloc(NL_DEFAULT_MEMORY_ALIGNMENT+size,NL_DEFAULT_MEMORY_ALIGNMENT);//new uint8[size + sizeof(uint)]; // an additionnal uint is needed to store size of block
uint8*block=(uint8*)aligned_malloc(NL_DEFAULT_MEMORY_ALIGNMENT+size,NL_DEFAULT_MEMORY_ALIGNMENT);//new uint8[size + sizeof(uint)]; // an additionnal uint is needed to store size of block