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 |
||
|---|---|---|
| .. | ||
| unix | ||
| win | ||
| fs-poll.c | ||
| heap-inl.h | ||
| idna.c | ||
| idna.h | ||
| inet.c | ||
| queue.h | ||
| random.c | ||
| strscpy.c | ||
| strscpy.h | ||
| strtok.c | ||
| strtok.h | ||
| thread-common.c | ||
| threadpool.c | ||
| timer.c | ||
| uv-common.c | ||
| uv-common.h | ||
| uv-data-getter-setters.c | ||
| version.c | ||