summaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2013-05-06 13:46:16 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2013-05-06 13:46:54 +0100
commit48be23233ad63bf1bd218c259efedff3e52106c5 (patch)
treef79c3b52124b916fedb30f204732440dee8ef79c /builtin.c
parent88a6dc5343a66b2db3ad36f0fa9f24fc89282caa (diff)
Add the "has" function. Closes #74.
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin.c b/builtin.c
index b9c60b83..39570188 100644
--- a/builtin.c
+++ b/builtin.c
@@ -480,6 +480,7 @@ static const struct cfunction function_list[] = {
{(cfunction_ptr)jv_setpath, "setpath", 3}, // FIXME typechecking
{(cfunction_ptr)jv_getpath, "getpath", 2},
{(cfunction_ptr)jv_delpaths, "delpaths", 2},
+ {(cfunction_ptr)jv_has, "has", 2},
{(cfunction_ptr)f_equal, "_equal", 3},
{(cfunction_ptr)f_notequal, "_notequal", 3},
{(cfunction_ptr)f_less, "_less", 3},