summaryrefslogtreecommitdiff
path: root/templates/data.hpp.ede
diff options
context:
space:
mode:
Diffstat (limited to 'templates/data.hpp.ede')
-rw-r--r--templates/data.hpp.ede19
1 files changed, 1 insertions, 18 deletions
diff --git a/templates/data.hpp.ede b/templates/data.hpp.ede
index 10e1ff4..0dcb02c 100644
--- a/templates/data.hpp.ede
+++ b/templates/data.hpp.ede
@@ -4,24 +4,7 @@
4#ifndef HEADER_{{ moduleName }}_H 4#ifndef HEADER_{{ moduleName }}_H
5#define HEADER_{{ moduleName }}_H 5#define HEADER_{{ moduleName }}_H
6 6
7#include <vector> 7#include "RT.hpp"
8#include <map>
9#include <string>
10
11#include "json.hpp"
12
13typedef int Int;
14typedef int Int32;
15typedef unsigned int Word;
16typedef unsigned int Word32;
17typedef float Float;
18typedef bool Bool;
19typedef std::string String;
20
21using json = nlohmann::json;
22
23template<typename T>
24json toJSON(T &v);
25 8
26{% for m in imports %} 9{% for m in imports %}
27#include "{{ m.value }}.hpp" 10#include "{{ m.value }}.hpp"