Import Function type

This commit is contained in:
greg 2016-02-15 23:41:00 -08:00
parent 64d560a1fc
commit 0c717c721e

View File

@ -8,7 +8,7 @@ use self::iron_llvm::core;
use self::iron_llvm::core::types::{RealTypeCtor, RealTypeRef}; use self::iron_llvm::core::types::{RealTypeCtor, RealTypeRef};
use self::iron_llvm::{LLVMRef, LLVMRefCtor}; use self::iron_llvm::{LLVMRef, LLVMRefCtor};
use parser::{ParseResult, AST, ASTNode, Prototype, Expression}; use parser::{ParseResult, AST, ASTNode, Prototype, Function, Expression};
pub struct Context { pub struct Context {
context: core::Context, context: core::Context,
@ -112,3 +112,5 @@ impl IRBuilder for Function {
} }
} }