diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-04-07 09:15:04 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-04-07 09:15:04 -0700 |
commit | 898d9905a6225f205e17b469efed1cdfddfd81b9 (patch) | |
tree | 70f00c9607b97fefb0c931c129fb8c66f432c765 /eval.c | |
parent | 19fd3737ddabf50fb4a94e3be2c0fb5529b7c1e8 (diff) | |
download | txr-898d9905a6225f205e17b469efed1cdfddfd81b9.tar.gz txr-898d9905a6225f205e17b469efed1cdfddfd81b9.tar.bz2 txr-898d9905a6225f205e17b469efed1cdfddfd81b9.zip |
lib: new function vm-fun-p.
* eval.c (eval_init): vm-fun-p intrinsic registered.
* lib.c (vm_fun_p): New function.
* lib.h (vm_fun_p): Declared.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6668,6 +6668,7 @@ void eval_init(void) reg_fun(intern(lit("func-set-env"), user_package), func_n2(func_set_env)); reg_fun(intern(lit("functionp"), user_package), func_n1(functionp)); reg_fun(intern(lit("interp-fun-p"), user_package), func_n1(interp_fun_p)); + reg_fun(intern(lit("vm-fun-p"), user_package), func_n1(vm_fun_p)); reg_fun(intern(lit("ctx-form"), system_package), func_n1(ctx_form)); reg_fun(intern(lit("ctx-name"), system_package), func_n1(ctx_name)); |