aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_util.h
diff options
context:
space:
mode:
authorRob Blanckaert <basicer@basicer.com>2017-10-30 00:18:18 -0700
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-10-30 08:18:18 +0100
commit65c5539035139428ee8354d7c96565fc392112d2 (patch)
tree4cb72b11baba0f9533d59196353abee6a2734736 /src/script/lua_api/l_util.h
parenta95e0d18762c8182a3c2ba074b5961d5c00a90a4 (diff)
downloadminetest-65c5539035139428ee8354d7c96565fc392112d2.tar.gz
minetest-65c5539035139428ee8354d7c96565fc392112d2.tar.bz2
minetest-65c5539035139428ee8354d7c96565fc392112d2.zip
Add sha1 to lua utils. (#6563)
Diffstat (limited to 'src/script/lua_api/l_util.h')
-rw-r--r--src/script/lua_api/l_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_util.h b/src/script/lua_api/l_util.h
index b7aafe8d5..e17425d73 100644
--- a/src/script/lua_api/l_util.h
+++ b/src/script/lua_api/l_util.h
@@ -92,6 +92,9 @@ private:
// get_version()
static int l_get_version(lua_State *L);
+ // sha1(string, raw)
+ static int l_sha1(lua_State *L);
+
public:
static void Initialize(lua_State *L, int top);
static void InitializeAsync(lua_State *L, int top);