diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-06-01 06:55:21 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-06-01 06:55:21 -0700 |
commit | 8a443d67ef95021529db7eb451479e79fb39b272 (patch) | |
tree | 98703e3c35ef8d20e4420a8855fee670e1ac427c /struct.h | |
parent | d6ce2f2ab5dbf62e423f632aa9d727f55ac5911b (diff) | |
download | txr-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