summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-27 01:00:05 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-27 01:00:05 +0300
commit036e325e8a8be79a364004128eb2e9a936c0b393 (patch)
tree368bd552fce985b9c3257a9804c782485cc742a4 /src/emap/init.c
parent9421aeddd73397479def88d6776f01ee16cba7b8 (diff)
downloadevol-hercules-036e325e8a8be79a364004128eb2e9a936c0b393.tar.gz
evol-hercules-036e325e8a8be79a364004128eb2e9a936c0b393.tar.bz2
evol-hercules-036e325e8a8be79a364004128eb2e9a936c0b393.tar.xz
evol-hercules-036e325e8a8be79a364004128eb2e9a936c0b393.zip
Add script function for check is hash table exists.
New script function: htexists.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 85d9bc5..ecd0de9 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -181,6 +181,7 @@ HPExport void plugin_init (void)
addScriptCommand("htclear", "i", htClear);
addScriptCommand("htdelete", "i", htDelete);
addScriptCommand("htsize", "i", htSize);
+ addScriptCommand("htexists", "i", htExists);
addScriptCommand("htiterator", "i", htIterator);
addScriptCommand("htinextkey", "i", htiNextKey);
addScriptCommand("hticheck", "i", htiCheck);