Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/lpe/dump.h
- This file was added.
| /* SPDX-License-Identifier: Apache-2.0 | |||||
| * Copyright 2011-2022 Blender Foundation */ | |||||
| #pragma once | |||||
| #include <functional> | |||||
| #include <string> | |||||
| #include <vector> | |||||
| namespace LPE { | |||||
| namespace lpexp { | |||||
| class LPexp; | |||||
| } | |||||
| void dump_json(std::string filepath, | |||||
| const std::vector<lpexp::LPexp *> &expressions, | |||||
| std::function<std::string(int)> get_name, | |||||
| std::function<std::string(int)> get_expr); | |||||
| } // namespace LPE | |||||