nix/tests/unit/libutil-support
José Luis Lafuente 01bad63c72
C API: Safer function pointer casting
See https://github.com/NixOS/nix/pull/8699#discussion_r1554312181

Casting a function pointer to `void*` is undefined behavior in the C
spec, since there are platforms with different sizes for these two kinds
of pointers. A safe alternative might be `void (*callback)()`
2024-04-12 21:41:15 +02:00
..
tests C API: Safer function pointer casting 2024-04-12 21:41:15 +02:00
local.mk Only link with -pthread on Unix 2024-01-10 20:38:39 -05:00