1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-11 13:06:01 +01:00
nix/src/libexpr/nix_api_expr_internal.h
Yorick van Pelt ded0ef6f6c
nix_api_expr: switch to refcounting
Remove GCRef, keep references in a map. Change to nix_gc_incref and
nix_gc_decref, where users will mostly use nix_gc_decref.
2024-03-28 10:39:05 +01:00

18 lines
303 B
C++

#ifndef NIX_API_EXPR_INTERNAL_H
#define NIX_API_EXPR_INTERNAL_H
// forward declaration
namespace nix {
class EvalState;
class BindingsBuilder;
}; // namespace nix
struct State {
nix::EvalState state;
};
struct BindingsBuilder {
nix::BindingsBuilder builder;
};
#endif // NIX_API_EXPR_INTERNAL_H