Nix
2.26.3
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix_api_expr.hh
Go to the documentation of this file.
1
#pragma once
3
#include "nix_api_expr.h"
4
#include "nix_api_value.h"
5
#include "
tests/nix_api_store.hh
"
6
7
#include <gtest/gtest.h>
8
9
namespace
nixC {
10
11
class
nix_api_expr_test :
public
nix_api_store_test
12
{
13
protected
:
14
15
nix_api_expr_test()
16
{
17
nix_libexpr_init(ctx);
18
state = nix_state_create(
nullptr
,
nullptr
, store);
19
value = nix_alloc_value(
nullptr
, state);
20
}
21
~nix_api_expr_test()
22
{
23
nix_gc_decref(
nullptr
, value);
24
nix_state_free(state);
25
}
26
27
EvalState
* state;
28
nix_value * value;
29
};
30
31
}
EvalState
friend class EvalState
Definition
lexer.l:5728
nix_api_store.hh
src
libexpr-test-support
tests
nix_api_expr.hh
Generated by
1.13.2