summaryrefslogtreecommitdiff
path: root/src/types.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2015-03-17 11:52:35 +0800
committerJohn Hodge <tpg@mutabah.net>2015-03-17 11:52:35 +0800
commit6c571b2d3f99f5e209986dc00710d3fb86caafad (patch)
tree6798d420f469432d0c722ca268592070252fa5c9 /src/types.hpp
parent6b506092f331a26328a45c00565336ac810b7559 (diff)
downloadmrust-6c571b2d3f99f5e209986dc00710d3fb86caafad.tar.gz
Replace Enum variant inner type
Diffstat (limited to 'src/types.hpp')
-rw-r--r--src/types.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/types.hpp b/src/types.hpp
index adc28f6f..9505f2cd 100644
--- a/src/types.hpp
+++ b/src/types.hpp
@@ -201,4 +201,13 @@ public:
SERIALISABLE_PROTOTYPES();
};
+class Type_Function:
+ public Serialisable
+{
+ bool is_unsafe;
+ ::std::string m_abi;
+ TypeRef m_rettype;
+ ::std::vector<TypeRef> m_arg_types;
+};
+
#endif // TYPES_HPP_INCLUDED