diff options
| author | ruki <[email protected]> | 2025-12-07 21:31:25 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-07 21:31:25 +0800 |
| commit | 4e4b28eb4cad79cc4df5fca887b4f4b709f2b211 (patch) | |
| tree | 8e9d3cf29071bf65d3b0a097deadabe25245cacf /xmake/core/base/utils.lua | |
| parent | 40d790cf416c8677c51a8e969d421e85c25a019b (diff) | |
| parent | 8e3cc0092d8e356c6387aee941825cf66615541c (diff) | |
Merge pull request #7103 from xmake-io/bin2obj
Add bin2obj rule, will be faster than bin2c
Diffstat (limited to 'xmake/core/base/utils.lua')
| -rw-r--r-- | xmake/core/base/utils.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/core/base/utils.lua b/xmake/core/base/utils.lua index ac9884851..ddf8c127f 100644 --- a/xmake/core/base/utils.lua +++ b/xmake/core/base/utils.lua @@ -30,8 +30,6 @@ local io = require("base/io") local dump = require("base/dump") local text = require("base/text") --- save original interfaces -utils._bin2c = utils._bin2c or utils.bin2c -- dump values function utils.dump(...) @@ -337,11 +335,5 @@ function utils.vtable(data, opt) utils.vprintf(text.table(data, opt)) end --- generate c/c++ code from the binary file -function utils.bin2c(binaryfile, outputfile, opt) - opt = opt or {} - return utils._bin2c(binaryfile, outputfile, opt.linewidth or 32, opt.nozeroend or false) -end - -- return module return utils |
