nix-super/tests/unit
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
..
libexpr libexpr-c: Add nix_store_path_name 2024-04-11 17:39:21 +02:00
libexpr-support C API: add more tests 2024-03-29 14:00:19 +01:00
libfetchers Improve checked json casting (#10087) 2024-04-03 18:04:00 +00:00
libstore test/libutil: Add OBSERVE_STRING macro 2024-04-11 17:39:21 +02:00
libstore-support Fix some portability issues with the new C bindings 2024-04-05 00:54:47 -04:00
libutil test/libutil: Add OBSERVE_STRING macro 2024-04-11 17:39:21 +02:00
libutil-support C API: Safer function pointer casting 2024-04-12 21:41:15 +02:00