<br><br><div class="gmail_quote">On Tue, Oct 13, 2009 at 8:59 AM, ron minnich <span dir="ltr"><<a href="mailto:rminnich@gmail.com">rminnich@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, Oct 12, 2009 at 8:51 PM, Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>> wrote:<br>
<br>
> So I guess the question is how should we make sure the stack and heap are<br>
> sized correctly.  Using malloc to allocate the memory for lzma makes sense,<br>
> but it is used in CAR too, so that complicates our decision.<br>
<br>
</div>lzma decompressor gets a void * from the caller. Caller, if CAR, uses<br>
on-stack pointer. RAM code can, if desired,<br>
use malloc'ed memory?<br></blockquote><div>Not for the scratchpad.  It's allocated on the stack of the ulzma function.</div></div><br>Thanks,<br>Myles<br>