diff options
| author | ruki <[email protected]> | 2021-09-20 22:52:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-20 22:52:37 +0800 |
| commit | 68f4ab938564a43656236de3a0eb67f9222bc876 (patch) | |
| tree | e1df5be901cd0c63cdeaaf61218107a86d9e9d66 /xmake/core/sandbox/modules/debug.lua | |
| parent | 07cabd568b07120e227e29a945bc45dcc05a0db2 (diff) | |
improve bytes
Diffstat (limited to 'xmake/core/sandbox/modules/debug.lua')
| -rw-r--r-- | xmake/core/sandbox/modules/debug.lua | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/xmake/core/sandbox/modules/debug.lua b/xmake/core/sandbox/modules/debug.lua index a533720e7..2a3004537 100644 --- a/xmake/core/sandbox/modules/debug.lua +++ b/xmake/core/sandbox/modules/debug.lua @@ -24,11 +24,13 @@ local table = require("base/table") -- define module local sandbox_debug = sandbox_debug or table.join(debug) -sandbox_debug.rawget = rawget -sandbox_debug.rawset = rawset -sandbox_debug.rawequal = rawequal -sandbox_debug.rawlen = rawlen -sandbox_debug.require = require +sandbox_debug.rawget = rawget +sandbox_debug.rawset = rawset +sandbox_debug.rawequal = rawequal +sandbox_debug.rawlen = rawlen +sandbox_debug.require = require +sandbox_debug.collectgarbage = collectgarbage + function sandbox_debug.global(key) if key == nil then return _G @@ -36,6 +38,5 @@ function sandbox_debug.global(key) return _G[key] end - -- return module return sandbox_debug |
