summaryrefslogtreecommitdiffstats
path: root/struct.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-06-01 06:55:21 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-06-01 06:55:21 -0700
commit8a443d67ef95021529db7eb451479e79fb39b272 (patch)
tree98703e3c35ef8d20e4420a8855fee670e1ac427c /struct.h
parentd6ce2f2ab5dbf62e423f632aa9d727f55ac5911b (diff)
downloadtxr-8a443d67ef95021529db7eb451479e79fb39b272.tar.gz
txr-8a443d67ef95021529db7eb451479e79fb39b272.tar.bz2
txr-8a443d67ef95021529db7eb451479e79fb39b272.zip
Print method on objects.
* struct.c (print_s): New symbol variable. (struct_init): Initialize print_s. (struct_inst_print): If pretty-printing, try to look up object's print method and use it. * txr.1: Documented pretty-printing via print method.
Diffstat (limited to 'struct.h')
0 files changed, 0 insertions, 0 deletions