Eelco Dolstra
02f0294be0
Fix most DoxyGen warnings
...
Helps with #11841 .
2024-11-12 15:34:24 +01:00
Jörg Thalheim
739418504c
allow to c api with older c versions
...
In the FFI world we have many tools that are not gcc/clang and therefore
not always support the latest C standard. This fixes support with cffi
i.e. used in https://github.com/tweag/python-nix
2024-08-02 17:19:45 +02:00
Robert Hensing
b94e1d6218
C API: Value -> nix_value
...
See issue https://github.com/NixOS/nix/issues/10434
2024-06-13 18:51:58 +02:00
Robert Hensing
5d8118d9cb
C API: Docs
2024-06-13 18:23:21 +02:00
Robert Hensing
c50db4e58c
C API: Add nix_value_{inc,dec}ref
...
- Can be implemented more easily by more eval architectures.
- Better types in generated bindings remove some uncertainty and doubt.
2024-06-13 18:21:04 +02:00
Robert Hensing
0b56c98b1c
C API: Value -> nix_value
2024-06-13 18:18:36 +02:00
John Ericson
1a32490aca
Merge pull request #10835 from hercules-ci/update-nixpkgs-24.05
...
Update to Nixpkgs 24.05
2024-06-05 17:56:16 -04:00
Philipp
214051ba79
clarify not on nix_value_force
( #10842 )
...
* clarify not on `nix_value_force`
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-06-04 07:41:04 +00:00
Robert Hensing
27f880c098
Format after clang-format update
2024-06-03 18:38:56 +02:00
Philipp Zander
25e2b1f7f7
improve note in nix_value_force
documentation
2024-06-03 09:55:44 +02:00
Robert Hensing
2497d10351
C API: Add nix_value_call_multi, NIX_VALUE_CALL
...
_multi can be implemented more efficiently.
NIX_VALUE_CALL is a convenient way to invoke it.
2024-05-23 21:24:06 +02:00
Robert Hensing
bd7a074636
Merge pull request #10724 from prednaz/libexpr-c_example
...
remove redundant and outdated example from `libexpr-c` documentation
2024-05-22 12:59:14 +02:00
Philipp Zander
142222030c
remove redundant and outdated example from libexpr-c
documentation
2024-05-21 14:00:34 +02:00
Philipp
e0bfa6c55f
small additions to the documentation of nix_store_open
and nix_state_create
( #10728 )
2024-05-20 08:27:33 +02:00
Roland Coeurjoly
40a6a9fdb8
Rename SearchPath to LookupPath and searchPath to lookupPath
2024-04-13 17:35:15 +02:00
Robert Hensing
ad643cde58
C API: Add nix_init_apply
...
Thunks are relevant when initializing attrsets and lists, passing
arguments. This is an important way to produce them.
2024-04-18 19:13:38 +02:00
José Luis Lafuente
c57de60522
C API: Keep the structure flat
...
See https://github.com/NixOS/nix/pull/10329
2024-03-28 19:00:04 +01:00