socketry / nio4r

Cross-platform asynchronous I/O primitives for scalable network clients and servers.
Other
966 stars 86 forks source link

Fix incorrect return types. Fixes #275. #276

Closed ioquatix closed 3 years ago

ioquatix commented 3 years ago

Description

According to #275, libev implementation of uring has some "syntax errors", as in it declares some return type but doesn't return anything.

I checked and this is superficial, as in there were no cases where the (undefined) return value was ever used.

There is no update to libev yet with these fixes, but a quick check upstream shows that they are fixed already.

So I manually fixed the code by hand as a short term solution.

cc @tyan-boot

Types of Changes

Testing