LZ: allocating some free memory


[Prev][Next][Index][Thread]

LZ: allocating some free memory



I was looking at graylib to see how it allocated a free junk of memory. 
What were the memory locations that it refered to?  (In the GrayScaleOn
function.)  I would like to allocate 1024 bytes on a even boundary ie
the first byte will be on location (xxxx xx00 0000 0000) where xxxx xx
is some combination of bits.


What would be the simplest way of doing this?




Please reply directly.