mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
improve note in nix_value_force
documentation
This commit is contained in:
parent
8e9fc2853c
commit
25e2b1f7f7
2 changed files with 4 additions and 5 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue