rockbox/firmware/include
Thomas Martitz af4e408555 buflib: Change buflib_available() and add buflib_allocatable().
buflib_allocatable() is what buflib_available() was before (it was in fact
simply renamed). It returns the largest contiguous block of memory. This
can be allocated and will definitely succeed, although larger allocations
may also succeed if the buffer can be compacted and shrinked.

buflib_available() now counts all free bytes, contiguous or not. This
better matches the description and how the caller use it.

Change-Id: I511e4eb5f4cf1821d957b3f4ef8a685ce40fe289
Reviewed-on: http://gerrit.rockbox.org/481
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Tested-by: Thomas Martitz <kugel@rockbox.org>
2013-07-07 10:46:07 +02:00
..
_ansi.h
assert.h
buflib.h buflib: Change buflib_available() and add buflib_allocatable(). 2013-07-07 10:46:07 +02:00
core_alloc.h buflib: Change buflib_available() and add buflib_allocatable(). 2013-07-07 10:46:07 +02:00
crc32-mi4.h
crc32-rkw.h
crc32.h
dbgcheck.h
diacritic.h
dir.h
dir_uncached.h
dircache.h
file.h Fix database tool. 2012-07-31 10:33:27 +02:00
font_cache.h
format.h
gcc_extensions.h
loader_strerror.h Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
lru.h
memset16.h
rb-loader.h Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
rbunicode.h
strcasecmp.h
strcasestr.h
string-extra.h
strlcat.h
strlcpy.h
strnatcmp.h
strtok_r.h
timefuncs.h