diff options
| author | ruki <[email protected]> | 2021-09-20 22:55:51 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-20 22:55:51 +0800 |
| commit | 07a9a02dbd44f4d58cdb704c6db23f5e62fd2ccf (patch) | |
| tree | 52678dba9159a84cb61545e5f5de9f8b62c68aa6 /xmake/core/base/bytes.lua | |
| parent | 02d6208da20b9e6a6571ed716c16ed04d979b036 (diff) | |
remove some ffi codes
Diffstat (limited to 'xmake/core/base/bytes.lua')
| -rw-r--r-- | xmake/core/base/bytes.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/core/base/bytes.lua b/xmake/core/base/bytes.lua index d29cfb3b4..8b2fa08cc 100644 --- a/xmake/core/base/bytes.lua +++ b/xmake/core/base/bytes.lua @@ -30,14 +30,6 @@ local utils = require("base/utils") local todisplay = require("base/todisplay") local libc = require("base/libc") --- define ffi interfaces -if ffi then - ffi.cdef[[ - void* malloc(size_t size); - void free(void* data); - ]] -end - -- new a bytes instance -- -- bytes(size[, init]): allocates a buffer of given size, init with given number or char value |
