improve note in nix_value_force documentation

This commit is contained in:
Philipp Zander 2024-06-03 02:11:06 +02:00 committed by Valentin Gagarin
parent 8e9fc2853c
commit 25e2b1f7f7
2 changed files with 4 additions and 5 deletions

View file

@ -129,10 +129,8 @@ nix_err nix_value_call_multi(
*
* This function converts these Values into their final type.
*
* @note You don't need this function for basic API usage, since all functions
* that return a value call it for you. The only place you will see a
* NIX_TYPE_THUNK is in the arguments that are passed to a PrimOp function
* you supplied to nix_alloc_primop.
* @note You don't need this function for basic API usage very often, since all functions that return a `Value` call it
* for you. This function is mainly needed before calling @ref getters.
*
* @param[out] context Optional, stores error information
* @param[in] state The state of the evaluation.

View file

@ -148,7 +148,8 @@ Value * nix_alloc_value(nix_c_context * context, EvalState * state);
* @brief Functions to inspect and change Nix language values, represented by Value.
* @{
*/
/** @name Getters
/** @anchor getters
* @name Getters
*/
/**@{*/
/** @brief Get value type