aboutsummaryrefslogtreecommitdiff
path: root/deps/inja/include/inja/inja.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'deps/inja/include/inja/inja.hpp')
-rw-r--r--deps/inja/include/inja/inja.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/deps/inja/include/inja/inja.hpp b/deps/inja/include/inja/inja.hpp
new file mode 100644
index 0000000..86b8a0a
--- /dev/null
+++ b/deps/inja/include/inja/inja.hpp
@@ -0,0 +1,22 @@
+// Copyright (c) 2020 Pantor. All rights reserved.
+
+#ifndef INCLUDE_INJA_INJA_HPP_
+#define INCLUDE_INJA_INJA_HPP_
+
+#include <nlohmann/json.hpp>
+
+#if (defined(__cpp_exceptions) || defined(__EXCEPTIONS) || defined(_CPPUNWIND)) && !defined(INJA_NOEXCEPTION)
+ #define INJA_THROW(exception) throw exception
+#else
+ #include <cstdlib>
+ #define INJA_THROW(exception) std::abort()
+#endif
+
+#include "environment.hpp"
+#include "exceptions.hpp"
+#include "parser.hpp"
+#include "renderer.hpp"
+#include "string_view.hpp"
+#include "template.hpp"
+
+#endif // INCLUDE_INJA_INJA_HPP_