fix(c/libuv): Fix async_fs demo return 255 error & pointer not allocated error

Signed-off-by: hackerchai <i@hackerchai.com>

fix(c/libuv): Mv LLGoFiles declaration

Signed-off-by: hackerchai <i@hackerchai.com>

fix(c/libuv/demo): Fix return 255 error & pointer not allocated error

Signed-off-by: hackerchai <i@hackerchai.com>

refactor(c/libuv): Rewrite FsNew() logic

Signed-off-by: hackerchai <i@hackerchai.com>
This commit is contained in:
hackerchai
2024-07-30 15:19:31 +08:00
parent ceac95c81a
commit acd09d24d5
4 changed files with 55 additions and 24 deletions

View File

@@ -9,7 +9,6 @@ import (
const (
LLGoPackage = "link: $(pkg-config --libs libuv); -luv"
LLGoFiles = "$(pkg-config --cflags libuv): _wrap/fs.c"
)
// ----------------------------------------------