Changeset 56 in dev for BasicCompiler_Common/common.h


Ignore:
Timestamp:
Feb 15, 2007, 3:39:40 AM (17 years ago)
Author:
dai_9181
Message:

・[Unicode]リテラル文字列のスイッチング
・[Unicode]Char型を文字型として扱うようにする
・[Unicode]SByte型を追加する
に対応。

/unicodeコマンドオプションに対応。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/common.h

    r55 r56  
    592592extern CLoopRefCheck *pobj_LoopRefCheck;
    593593
     594//DataTable.cpp
     595class DataTable{
     596    void *pdata;
     597    int size;
     598
     599public:
     600    DataTable();
     601    ~DataTable();
     602    void Init();
     603
     604    int AddBinary( const void *pdata, int size );
     605    int Add( _int64 i64data );
     606    int Add( int i32data );
     607    int Add( double dbl );
     608    int Add( float flt );
     609    int AddString( const char *str, int length );
     610    int AddString( const char *str );
     611
     612    const void *GetPtr() const;
     613    int GetSize() const;
     614};
     615extern DataTable dataTable;
     616
    594617//error.cpp
    595618void SetError(int ErrorNum,const char *KeyWord,int pos);
Note: See TracChangeset for help on using the changeset viewer.