Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
112:368547b1cbe6 | 113:27b9f749d9fe |
---|---|
25 void DtoDefineClassInfo(ClassDeclaration* cd); | 25 void DtoDefineClassInfo(ClassDeclaration* cd); |
26 | 26 |
27 void DtoCallClassDtors(TypeClass* tc, llvm::Value* instance); | 27 void DtoCallClassDtors(TypeClass* tc, llvm::Value* instance); |
28 void DtoInitClass(TypeClass* tc, llvm::Value* dst); | 28 void DtoInitClass(TypeClass* tc, llvm::Value* dst); |
29 | 29 |
30 DValue* DtoCastObjectToInterface(DValue* val, Type* to); | |
31 DValue* DtoCastInterfaceToObject(DValue* val); | |
32 | |
30 #endif | 33 #endif |