diff options
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -43,6 +43,7 @@ #include "debug.h" #include "match.h" #include "rand.h" +#include "filter.h" #include "eval.h" typedef val (*opfun_t)(val, val); @@ -2354,6 +2355,9 @@ void eval_init(void) reg_fun(intern(lit("match-fun"), user_package), func_n4(match_fun)); + reg_fun(intern(lit("url-encode"), user_package), func_n1(url_encode)); + reg_fun(intern(lit("url-decode"), user_package), func_n1(url_decode)); + eval_error_s = intern(lit("eval-error"), user_package); uw_register_subtype(eval_error_s, error_s); } |