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 |
||
|---|---|---|
| .. | ||
| aix.h | ||
| bsd.h | ||
| darwin.h | ||
| errno.h | ||
| linux.h | ||
| os390.h | ||
| posix.h | ||
| sunos.h | ||
| threadpool.h | ||
| tree.h | ||
| unix.h | ||
| version.h | ||
| win.h | ||