summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-01-18 10:25:33 -0800
committerKaz Kyheku <kaz@kylheku.com>2020-01-18 10:25:33 -0800
commit72eff372aefb86ca8ae5ad2e95f01d4cc9e0ec78 (patch)
tree0f94bdf96c28c0f9daafd168348230bc81e6cc56 /lib.h
parent7a6a9a21090a36ae094b3a4746a6dd371bd653cb (diff)
downloadtxr-72eff372aefb86ca8ae5ad2e95f01d4cc9e0ec78.tar.gz
txr-72eff372aefb86ca8ae5ad2e95f01d4cc9e0ec78.tar.bz2
txr-72eff372aefb86ca8ae5ad2e95f01d4cc9e0ec78.zip
New function: coded-length.
* eval.c (eval_init): Register coded-length intrinsic. * lib.c (coded_length): New function. * lib.h (coded_length): Declared.
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 76497d42..5be2c037 100644
--- a/lib.h
+++ b/lib.h
@@ -827,6 +827,7 @@ val string_extend(val str, val tail);
val stringp(val str);
val lazy_stringp(val str);
val length_str(val str);
+val coded_length(val str);
const wchar_t *c_str(val str);
val search_str(val haystack, val needle, val start_num, val from_end);
val search_str_tree(val haystack, val tree, val start_num, val from_end);