mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +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.
|
* This function converts these Values into their final type.
|
||||||
*
|
*
|
||||||
* @note You don't need this function for basic API usage, since all functions
|
* @note You don't need this function for basic API usage very often, since all functions that return a `Value` call it
|
||||||
* that return a value call it for you. The only place you will see a
|
* for you. This function is mainly needed before calling @ref getters.
|
||||||
* NIX_TYPE_THUNK is in the arguments that are passed to a PrimOp function
|
|
||||||
* you supplied to nix_alloc_primop.
|
|
||||||
*
|
*
|
||||||
* @param[out] context Optional, stores error information
|
* @param[out] context Optional, stores error information
|
||||||
* @param[in] state The state of the evaluation.
|
* @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.
|
* @brief Functions to inspect and change Nix language values, represented by Value.
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
/** @name Getters
|
/** @anchor getters
|
||||||
|
* @name Getters
|
||||||
*/
|
*/
|
||||||
/**@{*/
|
/**@{*/
|
||||||
/** @brief Get value type
|
/** @brief Get value type
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue