mirror of
https://github.com/Insality/druid
synced 2025-09-28 10:32:20 +02:00
Add Defold annotations
This commit is contained in:
28
annotations/defold/zlib.lua
Normal file
28
annotations/defold/zlib.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
--[[
|
||||
Generated with github.com/astrochili/defold-annotations
|
||||
Defold 1.8.0
|
||||
|
||||
Zlib compression API documentation
|
||||
|
||||
Functions for compression and decompression of string buffers.
|
||||
--]]
|
||||
|
||||
---@diagnostic disable: lowercase-global
|
||||
---@diagnostic disable: missing-return
|
||||
---@diagnostic disable: duplicate-doc-param
|
||||
---@diagnostic disable: duplicate-set-field
|
||||
|
||||
---@class defold_api.zlib
|
||||
zlib = {}
|
||||
|
||||
---A lua error is raised is on error
|
||||
---@param buf string buffer to deflate
|
||||
---@return string buf deflated buffer
|
||||
function zlib.deflate(buf) end
|
||||
|
||||
---A lua error is raised is on error
|
||||
---@param buf string buffer to inflate
|
||||
---@return string buf inflated buffer
|
||||
function zlib.inflate(buf) end
|
||||
|
||||
return zlib
|
Reference in New Issue
Block a user