/
ne1ghost
/
nix
Обзор
Документация
Войти
/
ne1ghost
/
nix
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/libexpr-test-support/tests/nix_api_expr.hh
31 строка
555 B
John Ericson
Move unit tests to the location Meson expects them to be
17 окт 2024, 22:42
17 окт 2024, 22:42
e65510d
Код
Авторство
О чём код?
#pragma once ///@file #include "nix_api_expr.h" #include "nix_api_value.h" #include "tests/nix_api_store.hh" #include <gtest/gtest.h> namespace nixC { class nix_api_expr_test : public nix_api_store_test { protected: nix_api_expr_test() { nix_libexpr_init(ctx); state = nix_state_create(nullptr, nullptr, store); value = nix_alloc_value(nullptr, state); } ~nix_api_expr_test() { nix_gc_decref(nullptr, value); nix_state_free(state); } EvalState * state; nix_value * value; }; }