コード例 #1
0
ファイル: newman.c プロジェクト: ckamm/dmd
STATIC void cpp_storage_convention(symbol *s)
{   tym_t ty;
    type *t = s->Stype;

    ty = t->Tty;
    if (LARGEDATA && !(ty & mTYLINK))
        t->Tty |= mTYfar;
    cpp_data_indirect_type(t);
    t->Tty = ty;
}
コード例 #2
0
ファイル: newman.c プロジェクト: AlbertLkn/dmd
STATIC void cpp_pointer_type(type *t)
{   tym_t ty;

    if (tyfunc(t->Tnext->Tty))
    {
        cpp_function_indirect_type(t);
        cpp_function_type(t->Tnext);
    }
    else
    {
        cpp_data_indirect_type(t);
        cpp_pointer_data_type(t->Tnext);
    }
}
コード例 #3
0
ファイル: newman.c プロジェクト: AlbertLkn/dmd
STATIC void cpp_reference_type(type *t)
{
    cpp_data_indirect_type(t);
    cpp_reference_data_type(t->Tnext, 0);
}