Rockbox mail archiveSubject: Re: malloc in plugins
Re: malloc in plugins
From: Björn Stenberg <bjorn_at_haxx.se>
Date: Thu, 8 Jan 2004 23:37:40 +0100
> I have been stumped by malloc! I need/want to use malloc/free in a plugin
We have no heap, and thus no malloc.
You are of course free to implement dynamic allocation of the plugin buffer if you simply want to juggle a lot of memory buffers. However I still recommend to always use static allocation and thus always run the worst case.
-- BjörnReceived on 2004-01-08