summaryrefslogtreecommitdiffstats
path: root/termios.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-01-03 03:17:33 -0800
committerKaz Kylheku <kaz@kylheku.com>2018-01-03 03:17:33 -0800
commite75e6bda47819e2be53615a2cc8f3d1d20741be2 (patch)
treed5014baa3b32111d3adcf566bd151c8aa0edfcf2 /termios.c
parent18d1c715712c74f709240fb389a6601a1a812895 (diff)
downloadtxr-e75e6bda47819e2be53615a2cc8f3d1d20741be2.tar.gz
txr-e75e6bda47819e2be53615a2cc8f3d1d20741be2.tar.bz2
txr-e75e6bda47819e2be53615a2cc8f3d1d20741be2.zip
car, cdr: fall back on lambda method.
* lib.c (car, cdr): Don't fail if the struct object has no car or cdr method. Use it if it is available, otherwise try to fall back on the lambda method if that is available.
Diffstat (limited to 'termios.c')
0 files changed, 0 insertions, 0 deletions