diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-01-27 06:30:11 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-01-27 06:30:11 -0800 |
commit | e9b78ff2c7a7765b842588c9a93f84956de9834d (patch) | |
tree | 7a0bd22f89841184171f4344cf3080434b593e02 /eval.c | |
parent | 0515d6ee6af5f16a951f7dd61ddc3f3e2cd0e562 (diff) | |
download | txr-e9b78ff2c7a7765b842588c9a93f84956de9834d.tar.gz txr-e9b78ff2c7a7765b842588c9a93f84956de9834d.tar.bz2 txr-e9b78ff2c7a7765b842588c9a93f84956de9834d.zip |
* arith.c (width): New function.
* arith.h (width): Declared.
* eval.c (eval_init): Width registered as intrisinc.
* txr.1: Documented width.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3851,6 +3851,7 @@ void eval_init(void) reg_fun(intern(lit("ash"), user_package), func_n2(ash)); reg_fun(intern(lit("bit"), user_package), func_n2(bit)); reg_fun(intern(lit("mask"), user_package), func_n0v(maskv)); + reg_fun(intern(lit("width"), user_package), func_n1(width)); reg_fun(intern(lit("regex-compile"), user_package), func_n2o(regex_compile, 1)); reg_fun(intern(lit("regexp"), user_package), func_n1(regexp)); |