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
2024-04-10 21:11:57 +00:00
2023-12-13 16:25:18 -05:00
2024-03-21 15:55:44 +08:00
2024-04-12 21:41:15 +02:00
2024-01-08 19:46:38 +01:00
2024-02-01 01:01:39 +01:00
2024-04-08 09:55:42 -04:00
2024-03-11 21:16:10 +01:00
2024-03-28 10:50:08 +01:00
2024-04-08 09:55:42 -04:00
2024-03-28 10:51:59 +01:00
2022-01-24 13:28:21 +01:00

Nix

Open Collective supporters Test

Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible. Please refer to the Nix manual for more details.

Installation and first steps

Visit nix.dev for installation instructions and beginner tutorials.

Full reference documentation can be found in the Nix manual.

Building And Developing

See our Hacking guide in our manual for instruction on how to set up a development environment and build Nix from source.

Contributing

Check the contributing guide if you want to get involved with developing Nix.

Additional Resources

License

Nix is released under the LGPL v2.1.

Description
Languages
C++ 78.1%
Shell 9.7%
Nix 7.5%
Meson 1.8%
C 1.3%
Other 1.6%