1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 02:21:16 +02:00
This commit is contained in:
Robert Hensing 2025-03-27 15:50:22 +00:00
parent 02360dd65c
commit 05e5bd2140
3 changed files with 7 additions and 1 deletions

View file

@ -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
*/

View file

@ -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)
{

View file

@ -63,7 +63,7 @@ struct ConfigFile
};
/**
* The contents of a flake.nix file.
* A flake in context
*/
struct Flake
{