summaryrefslogtreecommitdiff
path: root/templates/data.hpp.ede
diff options
context:
space:
mode:
authorCsaba Hruska <csaba.hruska@gmail.com>2015-09-16 01:00:41 +0200
committerCsaba Hruska <csaba.hruska@gmail.com>2015-09-16 01:00:41 +0200
commit030fb57e15c35baaee7d4d30e012d3e51e4d871c (patch)
treea577bbb015d0e524f68d69c5676486ee5cea7f5d /templates/data.hpp.ede
parent4cf104ca45b4f3f278b3cc8275a9690be3c23fe2 (diff)
add C++ lib
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"