mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-04-30 19:09:26 +08:00
* Fix #690: Apply clang-format consistently with CI Applied clang-format-19 to all source files to enforce consistent formatting according to the existing .clang-format configuration. Added auto-clang-format GitHub Actions workflow (from cpp-best-practices/cmake_template) that runs on pull requests to automatically format and commit any style violations going forward. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 lines
501 B
C++
15 lines
501 B
C++
#include "multifile_test_chai.hpp"
|
|
|
|
#include <chaiscript/chaiscript_stdlib.hpp>
|
|
#include <chaiscript/language/chaiscript_parser.hpp>
|
|
|
|
Multi_Test_Chai::Multi_Test_Chai()
|
|
: m_chai(new chaiscript::ChaiScript_Basic(
|
|
chaiscript::Std_Lib::library(),
|
|
std::make_unique<chaiscript::parser::ChaiScript_Parser<chaiscript::eval::Noop_Tracer, chaiscript::optimizer::Optimizer_Default>>())) {
|
|
}
|
|
|
|
std::shared_ptr<chaiscript::ChaiScript_Basic> Multi_Test_Chai::get_chai() {
|
|
return m_chai;
|
|
}
|