rockbox/firmware/include
Thomas Jarosch 66df5f3891 Improve core_alloc() / buflib_alloc() documentation
Document the fact that buffers are movable by default.
Care must be taken to not pass them to functions that yield().

Also clarify other things:
- Passing NULL as "ops" to buflib_alloc_ex() causes
  buffers to be movable by default (but not shrinkable).

- If you want shrinkable buffers during compaction,
  you have to provide a shrink callback.

- To disable buffer movement, you have to pass NULL
  for the move_callback inside the callback structure.

- The concept of default callbacks was removed
  long ago, remove the only reference of it.

Change-Id: I3bf0ea6b08b507d80a19f3c2c835aca32b3f7800
2015-01-02 18:51:15 +01:00
..
_ansi.h
assert.h
bitarray.h
buflib.h Improve core_alloc() / buflib_alloc() documentation 2015-01-02 18:51:15 +01:00
core_alloc.h
crc32-mi4.h
crc32-rkw.h
crc32.h
dbgcheck.h
diacritic.h
dir.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
dircache.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
dircache_redirect.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
disk_cache.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
file.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
file_internal.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
fileobj_mgr.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
filesystem-native.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
font_cache.h
format.h
fs_attr.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
gcc_extensions.h
linked_list.h
loader_strerror.h
lru.h
memset16.h
rb-loader.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
rbendian.h Fix up maemo port after byte swap header refactoring 2014-12-17 23:29:44 +01:00
rbunicode.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
strcasecmp.h
strcasestr.h
string-extra.h Hopefully fix most of the errors and warnings from the last push 2014-08-29 23:36:11 -04:00
strlcat.h
strlcpy.h
strnatcmp.h
strtok_r.h
timefuncs.h
version.h