Files
whetstone_DSL/editor/src/ValidationErrorUtil.h

10 lines
163 B
C++

#pragma once
#include <string>
inline bool failWith(std::string* error, const char* code) {
if (!error) return false;
*error = code;
return false;
}