[En-Nut-Discussion] Yet another typedef question (heap.c)

Moritz Struebe morty at gmx.net
Tue Apr 8 11:45:57 CEST 2008


Hi there,

I have another question about types:

In the HEAPNODE struct hn_size is of the type size_t, while heap.c 
always uses uptr_t. If I didn't miss anything size_t is used via 
HEAPNODE when a block is free, and uptr_t when it is in use, but this 
still is a bit strange. Shouldn't size_t be used in heap.c,  too?

Thanks for your answers.

Cheers
Morty



More information about the En-Nut-Discussion mailing list