🎨 Committing clang-format changes

This commit is contained in:
Clang Robot 2026-04-18 00:46:04 +00:00
parent 9680c93bd1
commit b64c930b16
2 changed files with 19 additions and 16 deletions

View File

@ -143,7 +143,8 @@ namespace chaiscript {
m_engine.add(fun([this](const std::function<std::string(const std::string &)> &t_reader) {
m_file_reader = t_reader;
}), "set_file_reader");
}),
"set_file_reader");
m_engine.add(fun([this]() { m_engine.dump_system(); }), "dump_system");
m_engine.add(fun([this](const Boxed_Value &t_bv) { m_engine.dump_object(t_bv); }), "dump_object");

View File

@ -19,7 +19,6 @@ typedef unsigned __int64 uint64_t;
#include <stdint.h>
#endif
/// compute SHA3 hash
/** Usage:
SHA3 sha3;
@ -37,7 +36,10 @@ class SHA3 //: public Hash
{
public:
/// algorithm variants
enum Bits { Bits224 = 224, Bits256 = 256, Bits384 = 384, Bits512 = 512 };
enum Bits { Bits224 = 224,
Bits256 = 256,
Bits384 = 384,
Bits512 = 512 };
/// same as reset()
explicit SHA3(Bits bits = Bits256);