mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
C API: source argument to nix_copy_value should be const
This commit is contained in:
parent
8d70db3251
commit
6acf02b32a
3 changed files with 15 additions and 2 deletions
|
@ -422,7 +422,7 @@ nix_err nix_init_primop(nix_c_context * context, Value * value, PrimOp * op);
|
|||
* @param[in] source value to copy from
|
||||
* @return error code, NIX_OK on success.
|
||||
*/
|
||||
nix_err nix_copy_value(nix_c_context * context, Value * value, Value * source);
|
||||
nix_err nix_copy_value(nix_c_context * context, Value * value, const Value * source);
|
||||
/**@}*/
|
||||
|
||||
/** @brief Create a bindings builder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue