On Monday, 6 August 2012 at 15:36:03 UTC, Andrej Mitrovic wrote:
On 8/6/12, Eyyub <eyyub.pangeara...@gmail.com> wrote:
Tell me if I'm wrong. (I did not programming in C since 2 years)

You're not wrong. m_blockList is a pointer and OP needs to allocate an
s_blockHeader instance before he uses it:

s_blockHeader* m_blockList = cast(s_blockHeader*)malloc(s_blockHeader.sizeof);

another quick question - are these allocations automatically entered into the GC heap? If so then I can just disable garbage collection?

Reply via email to