gparmer/Composite — pull request #90 by gedare (2014-07-16 16:45:45+00:00)
Title: cbuf simplification

Make cbuf and cbufp interfaces more similar.
* cbuf_free() takes a cbuf_t instead of void* as its argument.
* cbuf_t contains a tmem flag to indicate transient vs persistent.
* asm cstub prolog/epilog saves and restores input variables on the stack.

Tested with unit_cbuf.sh and unit_torrent.sh.