Rationale for changing it to an enum: - frees up some bits that can be used for other things - is potentially faster (direct vs. indirect call) - is potentially more secure (makes UAF or overruns harder to exploit, no arbitrary function pointer to clobber) Fixes: https://github.com/libuv/libuv/issues/4842 |
||
|---|---|---|
| .. | ||
| uv | ||
| uv.h | ||