コード例 #1
0
ファイル: toctype.c プロジェクト: CyberShadow/dmd
 void visit(TypeAArray *t)
 {
     t->ctype = type_assoc_array(Type_toCtype(t->index), Type_toCtype(t->next));
 }
コード例 #2
0
ファイル: toctype.c プロジェクト: rainers/dmd
type *TypeAArray::toCtype()
{
    if (!ctype)
        ctype = type_assoc_array(index->toCtype(), next->toCtype());
    return ctype;
}