mirror of
https://github.com/NixOS/nix
synced 2025-06-29 06:21:14 +02:00
nix_api_expr: always force values before giving them to the user
This commit is contained in:
parent
c48b9b8a83
commit
9cccb8bae0
4 changed files with 13 additions and 3 deletions
|
@ -178,11 +178,12 @@ ExternalValue *nix_get_external(nix_c_context *context, Value *);
|
|||
* Owned by the GC. Use nix_gc_decref when you're done with the pointer
|
||||
* @param[out] context Optional, stores error information
|
||||
* @param[in] value Nix value to inspect
|
||||
* @param[in] state nix evaluator state
|
||||
* @param[in] ix list element to get
|
||||
* @return value, NULL in case of errors
|
||||
*/
|
||||
Value *nix_get_list_byidx(nix_c_context *context, const Value *value,
|
||||
unsigned int ix);
|
||||
State *state, unsigned int ix);
|
||||
/** @brief Get an attr by name
|
||||
*
|
||||
* Owned by the GC. Use nix_gc_decref when you're done with the pointer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue