summaryrefslogtreecommitdiffstats
path: root/apps/talk.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2013-11-21 11:40:04 +0100
committerThomas Martitz <kugel@rockbox.org>2013-12-22 23:11:32 +0100
commit64b9e1fa7b645daa36ca0018dc168d4f871fd538 (patch)
tree207a693773d001307c5f3247fd435f9bc65a192c /apps/talk.h
parentd25a512caf4adf2aac3ce6ac8e1f2c556c0c6c37 (diff)
downloadrockbox-64b9e1fa7b645daa36ca0018dc168d4f871fd538.tar.gz
rockbox-64b9e1fa7b645daa36ca0018dc168d4f871fd538.tar.bz2
rockbox-64b9e1fa7b645daa36ca0018dc168d4f871fd538.zip
buflib: Add buflib_context_relocate().
This function relocates a buflib back buffer, updating pointers in struct buflib_context. It does not move any data by itself. The intended use-case is buflib-on-buflib, where a buflib back buffer is allocated with buflib and attempted to be moved. The move_callback() can call this and return BUFLIB_CB_OK on success. No move_callback() is called for the subordinate buflib buffer, therefore it must not contain non-movable allocations. The caller is generally responsible moving the data and all its implications. Change-Id: I869219f9cff786a172c9e917a5f34470073892e6
Diffstat (limited to 'apps/talk.h')
0 files changed, 0 insertions, 0 deletions