66df5f3891
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 |
||
---|---|---|
.. | ||
_ansi.h | ||
assert.h | ||
bitarray.h | ||
buflib.h | ||
core_alloc.h | ||
crc32-mi4.h | ||
crc32-rkw.h | ||
crc32.h | ||
dbgcheck.h | ||
diacritic.h | ||
dir.h | ||
dircache.h | ||
dircache_redirect.h | ||
disk_cache.h | ||
file.h | ||
file_internal.h | ||
fileobj_mgr.h | ||
filesystem-native.h | ||
font_cache.h | ||
format.h | ||
fs_attr.h | ||
gcc_extensions.h | ||
linked_list.h | ||
loader_strerror.h | ||
lru.h | ||
memset16.h | ||
rb-loader.h | ||
rbendian.h | ||
rbunicode.h | ||
strcasecmp.h | ||
strcasestr.h | ||
string-extra.h | ||
strlcat.h | ||
strlcpy.h | ||
strnatcmp.h | ||
strtok_r.h | ||
timefuncs.h | ||
version.h |