1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 17:51:15 +02:00

nix_api_expr: document nix_value_force

This commit is contained in:
Yorick van Pelt 2023-08-03 15:45:39 +02:00 committed by José Luis Lafuente
parent e58a9384c6
commit e74d6c1b3d
No known key found for this signature in database
GPG key ID: 8A3455EBE455489A
2 changed files with 13 additions and 1 deletions

View file

@ -23,7 +23,8 @@ extern "C" {
* @brief Dealing with errors from the Nix side
*
* To handle errors that can be returned from the Nix API,
* a nix_c_context can be passed to any function that potentially returns an error.
* a nix_c_context can be passed to any function that potentially returns an
* error.
*
* Error information will be stored in this context, and can be retrieved
* using nix_err_code and nix_err_msg.