Code format

This commit is contained in:
2025-05-04 14:32:03 +02:00
parent c0337ef97f
commit 93b45ac12e
3012 changed files with 8372 additions and 9301 deletions

View File

@@ -1,7 +1,7 @@
---@diagnostic disable: missing-return, lowercase-global
---@param boolean boolean
---@param userdata userdata
---@return userdata userdata
---@param boolean boolean
---@param userdata userdata
---@return userdata userdata
---Creates a zero-length userdata with an optional metatable.. newproxy is a experimental, undocumented and unsupported function in the Lua base library. It can be used to create a zero-length userdata, with a optional proxy. This function allows you to bypass the table type restriction on setmetatable, and thus create just a metatable. One of the main benefits from doing this is that you don't have to take the full overhead of creating a dummy table, and it's the only object that honors the metamethod __len.
function newproxy(boolean, userdata) end
function newproxy(boolean, userdata) end