aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_util.h
diff options
context:
space:
mode:
authorVincent Robinson <robinsonvincent89@gmail.com>2021-04-23 12:37:24 -0700
committerGitHub <noreply@github.com>2021-04-23 21:37:24 +0200
commit074e6a67def42ab9c91b8638c914869d516a9cd7 (patch)
tree1e8b9e20dc6ee5ef4ce8482bb762b89751538e28 /src/script/lua_api/l_util.h
parent3e2145d662d26443e96ac7191eda093c85c6f2bc (diff)
downloadminetest-074e6a67def42ab9c91b8638c914869d516a9cd7.tar.gz
minetest-074e6a67def42ab9c91b8638c914869d516a9cd7.tar.bz2
minetest-074e6a67def42ab9c91b8638c914869d516a9cd7.zip
Add `minetest.colorspec_to_colorstring` (#10425)
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 dbdd62b99..6943a6afb 100644
--- a/src/script/lua_api/l_util.h
+++ b/src/script/lua_api/l_util.h
@@ -101,6 +101,9 @@ private:
// sha1(string, raw)
static int l_sha1(lua_State *L);
+ // colorspec_to_colorstring(colorspec)
+ static int l_colorspec_to_colorstring(lua_State *L);
+
public:
static void Initialize(lua_State *L, int top);
static void InitializeAsync(lua_State *L, int top);