diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-11 06:04:59 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-11 06:04:59 -0700 |
commit | 3050086473efb34eeb578b486bcd6bfabadeb3c1 (patch) | |
tree | da90b11c492925852f1fe39e90bdea50bed21231 /debug.h | |
parent | 4bedc80b6de5dcd21d2a2c40ef18fafe12c8b3d8 (diff) | |
download | txr-3050086473efb34eeb578b486bcd6bfabadeb3c1.tar.gz txr-3050086473efb34eeb578b486bcd6bfabadeb3c1.tar.bz2 txr-3050086473efb34eeb578b486bcd6bfabadeb3c1.zip |
linenoise: lino_copy function.
* linenoise/linenoise.c (link_into_list, unlink_from_list):
New static functions.
(lino_make): Use link_into_list instead of open-coded
list manipulation.
(lino_copy): New function.
(lino_free): Use unlink_from list instead of
open-coded list manipulation.
* linenoise/linenoise.h (lino_copy): Declared.
Diffstat (limited to 'debug.h')
0 files changed, 0 insertions, 0 deletions