diff options
| author | ruki <[email protected]> | 2017-03-27 14:27:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-03-27 14:27:15 +0800 |
| commit | cbe9a6b04ec8fca881fc39d360e941bf795c86da (patch) | |
| tree | 294c965dce015b444bc9277bd6b7763b85d7d2aa /xmake/core/sandbox/modules/io.lua | |
| parent | f3611f44a7afda2e651eac6336d3494e011c9272 (diff) | |
tip admin permission
Diffstat (limited to 'xmake/core/sandbox/modules/io.lua')
| -rw-r--r-- | xmake/core/sandbox/modules/io.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/core/sandbox/modules/io.lua b/xmake/core/sandbox/modules/io.lua index 7a34cc649..d8b110c6e 100644 --- a/xmake/core/sandbox/modules/io.lua +++ b/xmake/core/sandbox/modules/io.lua @@ -32,6 +32,10 @@ local vformat = require("sandbox/modules/vformat") -- define module local sandbox_io = sandbox_io or {} +-- inherit some builtin interfaces +sandbox_io.flush = io.flush +sandbox_io._read = io.read + -- print file function sandbox_io._print(self, ...) |
