mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
Docs
This commit is contained in:
parent
02360dd65c
commit
05e5bd2140
3 changed files with 7 additions and 1 deletions
|
@ -286,6 +286,11 @@ nix_err nix_gc_incref(nix_c_context * context, const void * object);
|
|||
/**
|
||||
* @brief Decrement the garbage collector reference counter for the given object
|
||||
*
|
||||
* We also provide typed `nix_*_decref` functions, which are
|
||||
* - safer to use
|
||||
* - easier to integrate when deriving bindings
|
||||
* - allow more flexibility
|
||||
*
|
||||
* @param[out] context Optional, stores error information
|
||||
* @param[in] object The object to stop referencing
|
||||
*/
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
namespace nix {
|
||||
using json = nlohmann::json;
|
||||
// TODO: rename. It doesn't print.
|
||||
json printValueAsJSON(EvalState & state, bool strict,
|
||||
Value & v, const PosIdx pos, NixStringContext & context, bool copyToStore)
|
||||
{
|
||||
|
|
|
@ -63,7 +63,7 @@ struct ConfigFile
|
|||
};
|
||||
|
||||
/**
|
||||
* The contents of a flake.nix file.
|
||||
* A flake in context
|
||||
*/
|
||||
struct Flake
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue