1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Add base64 encoding and decoding to the lua api. (#3919)

This commit is contained in:
red-001 2016-05-28 04:37:28 +01:00 committed by kwolekr
parent c4e083f7e1
commit 62d15ac7c1
4 changed files with 49 additions and 0 deletions

View file

@ -95,6 +95,12 @@ private:
// request_insecure_environment()
static int l_request_insecure_environment(lua_State *L);
// encode_base64(string)
static int l_encode_base64(lua_State *L);
// decode_base64(string)
static int l_decode_base64(lua_State *L);
public:
static void Initialize(lua_State *L, int top);