summaryrefslogtreecommitdiff
path: root/src/types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.rs')
-rw-r--r--src/types.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/types.rs b/src/types.rs
index c1a98891..76200c49 100644
--- a/src/types.rs
+++ b/src/types.rs
@@ -2,6 +2,8 @@ use std::cell::RefCell;
use std::fmt;
use std::rc::Rc;
+use syntax::abi;
+
#[deriving(Clone)]
pub enum Global {
GType(Rc<RefCell<TypeInfo>>),
@@ -69,7 +71,7 @@ pub enum Type {
TFloat(FKind, Layout),
TPtr(Box<Type>, bool, Layout),
TArray(Box<Type>, uint, Layout),
- TFunc(Box<Type>, Vec<(String, Type)>, bool),
+ TFunc(Box<Type>, Vec<(String, Type)>, bool, abi::Abi),
TNamed(Rc<RefCell<TypeInfo>>),
TComp(Rc<RefCell<CompInfo>>),
TEnum(Rc<RefCell<EnumInfo>>)