summaryrefslogtreecommitdiff
path: root/src/types.hpp
diff options
context:
space:
mode:
authorJohn Hodge (sonata) <tpg@mutabah.net>2015-01-17 10:20:41 +0800
committerJohn Hodge (sonata) <tpg@mutabah.net>2015-01-17 10:20:41 +0800
commitba096985c2d2486592037f03e67c500d74292a83 (patch)
tree7981e81a29a0820ebd6c9afd993fa7d50692c93a /src/types.hpp
parent80e4060188913eb12ad8a774b07d3b938485a49a (diff)
downloadmrust-ba096985c2d2486592037f03e67c500d74292a83.tar.gz
Adding deserialise, partially working
Diffstat (limited to 'src/types.hpp')
-rw-r--r--src/types.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.hpp b/src/types.hpp
index 1dfeebac..2d052a06 100644
--- a/src/types.hpp
+++ b/src/types.hpp
@@ -113,6 +113,9 @@ public:
::std::vector<TypeRef>& sub_types() { return m_inner_types; }
friend ::std::ostream& operator<<(::std::ostream& os, const TypeRef& tr);
+
+ static const char* class_name(TypeRef::Class c);
+ friend void operator>>(::Deserialiser& d, TypeRef::Class& c);
SERIALISABLE_PROTOTYPES();
};