mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Add compression API
This commit is contained in:
parent
d6e28c19b5
commit
406ed5efac
5 changed files with 65 additions and 7 deletions
|
@ -81,6 +81,12 @@ private:
|
|||
// get_scriptdir()
|
||||
static int l_get_builtin_path(lua_State *L);
|
||||
|
||||
// compress(data, method, ...)
|
||||
static int l_compress(lua_State *L);
|
||||
|
||||
// decompress(data, method, ...)
|
||||
static int l_decompress(lua_State *L);
|
||||
|
||||
public:
|
||||
static void Initialize(lua_State *L, int top);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue