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:
parent
c4e083f7e1
commit
62d15ac7c1
4 changed files with 49 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue