|
|
Rockbox mail archiveSubject: Re: Dynamic global char arrays.Re: Dynamic global char arrays.
From: Daniel Stenberg <daniel_at_rockbox.org>
Date: 2005-08-19
On Sat, 20 Aug 2005, XavierGr wrote:
> I can use a very big one (*pointer[1500], buffer[10000]) but I think that
Just pick a reasonable default, I'd say. Use defines to make them easier to
> Also if someone is crazy enough to put 10000 picures in a folder then the
No, since your code must check to not overflow the buffers. But yes, it may
> I thought of using the max_files_in_dir value but this will not work on a
You can use the plugin memory area for dynamic memory to use for
-- Daniel Stenberg -- http://www.rockbox.org/ -- http://daniel.haxx.se/ _______________________________________________ http://cool.haxx.se/mailman/listinfo/rockboxReceived on Fri Aug 19 23:25:50 2005 Page was last modified "Mar 9 2008" The Rockbox Crew |