summaryrefslogtreecommitdiff
path: root/modules/tools
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tools')
-rw-r--r--modules/tools/c_gen_iface.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/tools/c_gen_iface.hpp b/modules/tools/c_gen_iface.hpp
index 1416062..8bdbca9 100644
--- a/modules/tools/c_gen_iface.hpp
+++ b/modules/tools/c_gen_iface.hpp
@@ -13,10 +13,19 @@
namespace saw {
namespace impl {
+namespace schema {
+using namespace saw::schema;
+
+using CIface = Struct<
+ Member<schema::String,"members">
+ Member<schema::String,"structs">
+>;
+}
/**
* Type meant to provide future help if I decide to introduce more maps
*/
struct c_types {
+
struct c_member {
std::string key;
std::string name;