diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-17 02:05:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-17 02:05:49 +0300 |
commit | f63584457f44a32e7e62587ac4802a6d31bb8408 (patch) | |
tree | 32d63bfc506c27424cb9d912d7caef59ef9315ed /src/emap/init.c | |
parent | 30fc330b4b7fcdca0328744055f82def2a3a7c0f (diff) | |
download | evol-hercules-f63584457f44a32e7e62587ac4802a6d31bb8408.tar.gz evol-hercules-f63584457f44a32e7e62587ac4802a6d31bb8408.tar.bz2 evol-hercules-f63584457f44a32e7e62587ac4802a6d31bb8408.tar.xz evol-hercules-f63584457f44a32e7e62587ac4802a6d31bb8408.zip |
Add function for convert label to int and int to label.
New functions:
getlabel - get label and return int
tolabel - get int and return label
Diffstat (limited to 'src/emap/init.c')
-rw-r--r-- | src/emap/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c index cd2c5bf..8f8c986 100644 --- a/src/emap/init.c +++ b/src/emap/init.c @@ -179,6 +179,8 @@ HPExport void plugin_init (void) addScriptCommand("hticheck", "i", htiCheck); addScriptCommand("htidelete", "i", htiDelete); addScriptCommand("setfakecells", "iii??", setFakeCells); + addScriptCommand("getlabel", "l", getLabel); + addScriptCommand("tolabel", "i", toLabel); do_init_langs(); |