
19 Jan
2005
19 Jan
'05
5:55 p.m.
"Jason Hise" wrote:
I'm looking at Loki's library and thinking that it has a major bug. Doesn't his implementation have the same alignment problems that my original static allocator did? Wouldn't it be impossible to ensure that memory allocated by malloc was aligned properly?
Memory returned by malloc/realloc/calloc is always aligned to fit any data type. /Pavel