diff options
author | John Hodge (sonata) <tpg@mutabah.net> | 2015-01-17 10:20:41 +0800 |
---|---|---|
committer | John Hodge (sonata) <tpg@mutabah.net> | 2015-01-17 10:20:41 +0800 |
commit | ba096985c2d2486592037f03e67c500d74292a83 (patch) | |
tree | 7981e81a29a0820ebd6c9afd993fa7d50692c93a /src/coretypes.hpp | |
parent | 80e4060188913eb12ad8a774b07d3b938485a49a (diff) | |
download | mrust-ba096985c2d2486592037f03e67c500d74292a83.tar.gz |
Adding deserialise, partially working
Diffstat (limited to 'src/coretypes.hpp')
-rw-r--r-- | src/coretypes.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/coretypes.hpp b/src/coretypes.hpp index 99d574b3..2982d42f 100644 --- a/src/coretypes.hpp +++ b/src/coretypes.hpp @@ -1,6 +1,9 @@ #ifndef CORETYPES_HPP_INCLUDED
#define CORETYPES_HPP_INCLUDED
+class Serialiser;
+class Deserialiser;
+
enum eCoreType
{
CORETYPE_INVAL,
@@ -15,4 +18,8 @@ enum eCoreType CORETYPE_F64,
};
+extern const char* coretype_name(const eCoreType ct);
+extern void operator% (::Serialiser& d, eCoreType ct);
+extern void operator% (::Deserialiser& d, eCoreType& ct);
+
#endif // CORETYPES_HPP_INCLUDED
|