diff gen/classes.h @ 113:27b9f749d9fe trunk

[svn r117] Initial working implementation of interfaces. Groundwork for all the different types of class/interface casts laid out.
author lindquist
date Sat, 24 Nov 2007 06:33:00 +0100
parents 027b8d8b71ec
children 5880c12dba83
line wrap: on
line diff
--- a/gen/classes.h	Thu Nov 22 22:30:10 2007 +0100
+++ b/gen/classes.h	Sat Nov 24 06:33:00 2007 +0100
@@ -27,4 +27,7 @@
 void DtoCallClassDtors(TypeClass* tc, llvm::Value* instance);
 void DtoInitClass(TypeClass* tc, llvm::Value* dst);
 
+DValue* DtoCastObjectToInterface(DValue* val, Type* to);
+DValue* DtoCastInterfaceToObject(DValue* val);
+
 #endif