summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-08-13 06:18:32 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-08-13 06:18:32 -0700
commit48e0e179ca9579eca414804aa4f8e7ae8fb040bb (patch)
treebccbaf5cf1764989f394e866661c7ff114fa4318 /lib.h
parent0a2ef84a7a1c5e898c9fbf7c9e84a65d965212c6 (diff)
downloadtxr-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.h b/lib.h
index b75f519e..ad5194bd 100644
--- a/lib.h
+++ b/lib.h
@@ -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);