1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 12:06:01 +01:00

C API: Improve nix_get_attr_name_byidx() doc

This commit is contained in:
Robert Hensing 2025-09-19 22:20:20 +02:00
parent 0e74b25f62
commit 7c553a30a9

View file

@ -302,7 +302,7 @@ nix_get_attr_byidx(nix_c_context * context, nix_value * value, EvalState * state
/** @brief Get an attribute name by index in the sorted bindings
*
* Useful when you want the name but want to avoid evaluation.
* Returns the attribute name without forcing evaluation of the attribute's value.
*
* Owned by the nix EvalState
* @param[out] context Optional, stores error information