Changeset 114 in dev for BasicCompiler_Common/Type.h


Ignore:
Timestamp:
May 10, 2007, 8:52:40 PM (17 years ago)
Author:
dai_9181
Message:

CClassクラスのインスタンスを全面的にconstにした。
TypeDefされたクラスの静的メソッドを呼び出せるようにした。(静的メンバへの対応はまだ)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Type.h

    r97 r114  
    77    union{
    88        LONG_PTR index;
    9         CClass *pClass;
     9        const CClass *pClass;
    1010    };
    1111
     
    5959        SetIndex( index );
    6060    }
    61     void SetType( int basicType, CClass *pClass ){
     61    void SetType( int basicType, const CClass *pClass ){
    6262        SetBasicType( basicType );
    6363        this->pClass = pClass;
Note: See TracChangeset for help on using the changeset viewer.