view gen/aa.h @ 1128:83ef1e7cde70

Return null from a static class to interface cast if the class reference was null. Fixes #237.
author Frits van Bommel <fvbommel wxs.nl>
date Fri, 20 Mar 2009 15:50:01 +0100
parents eef8ac26c66c
children 09734fb929c0
line wrap: on
line source

#ifndef LDC_GEN_AA_H
#define LDC_GEN_AA_H

DValue* DtoAAIndex(Loc& loc, Type* type, DValue* aa, DValue* key, bool lvalue);
DValue* DtoAAIn(Loc& loc, Type* type, DValue* aa, DValue* key);
void DtoAARemove(Loc& loc, DValue* aa, DValue* key);

#endif // LDC_GEN_AA_H