diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-08-13 06:18:32 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-08-13 06:18:32 -0700 |
commit | 48e0e179ca9579eca414804aa4f8e7ae8fb040bb (patch) | |
tree | bccbaf5cf1764989f394e866661c7ff114fa4318 /lib.h | |
parent | 0a2ef84a7a1c5e898c9fbf7c9e84a65d965212c6 (diff) | |
download | txr-48e0e179ca9579eca414804aa4f8e7ae8fb040bb.tar.gz txr-48e0e179ca9579eca414804aa4f8e7ae8fb040bb.tar.bz2 txr-48e0e179ca9579eca414804aa4f8e7ae8fb040bb.zip |
New display-width function.
* eval.c (eval_init): Register display-width intrinsic.
* lib.c (display_width): New function.
* lib.h (display_width): Declared.
* txr.1: Documented display-width.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -860,6 +860,7 @@ val obj_print(val obj, val stream); val obj_pprint(val obj, val stream); val tostring(val obj); val tostringp(val obj); +val display_width(val obj); #if !HAVE_SETENV void setenv(const char *name, const char *value, int overwrite); void unsetenv(const char *name); |