summaryrefslogtreecommitdiff
path: root/src/emap/script_buildins.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/script_buildins.c')
-rw-r--r--src/emap/script_buildins.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c
index 520f16f..6359ff6 100644
--- a/src/emap/script_buildins.c
+++ b/src/emap/script_buildins.c
@@ -1965,6 +1965,12 @@ BUILDIN(htSize)
return true;
}
+BUILDIN(htExists)
+{
+ int64 id = script_getnum(st, 2);
+ script_pushint(st, htreg->hashtable_exists(id));
+}
+
BUILDIN(htIterator)
{
int64 id = script_getnum(st, 2);