diff options
Diffstat (limited to 'templates/data.hpp.ede')
-rw-r--r-- | templates/data.hpp.ede | 19 |
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 | |||
13 | typedef int Int; | ||
14 | typedef int Int32; | ||
15 | typedef unsigned int Word; | ||
16 | typedef unsigned int Word32; | ||
17 | typedef float Float; | ||
18 | typedef bool Bool; | ||
19 | typedef std::string String; | ||
20 | |||
21 | using json = nlohmann::json; | ||
22 | |||
23 | template<typename T> | ||
24 | json 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" |