pguillory / luajit-libuv

LuaJIT FFI binding for libuv
MIT License
189 stars 11 forks source link

Libuv 1.0.2 #5

Open torhve opened 9 years ago

torhve commented 9 years ago

I'm looking into upgrading this library to version 1 of libuv (1.0.2). Looks like most things are working out of the box, but I'm struggling with scandir changes, specifically scandir_next.

Do you have plans to look at 1.0.2 yourself? Do you have any tips on how to deal with scandir changes?

creationix commented 9 years ago

FWIW, I recently updated my luv bindings to use the latest libuv code. Feel free to look at my code for ideas. Yes scandir is tricky. For my bindings, I return the uv_req_t and then expose uv_scandir_next as another function Search for "scandir" to find all the places it integrates in https://github.com/luvit/luv/blob/master/src/fs.c