Ignore:
Timestamp:
Apr 1, 2007, 2:28:03 AM (18 years ago)
Author:
dai_9181
Message:

House::Metaを追加。
Source.h/Source.cppを追加(実装はこれから)。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/DebugMiddleFile.cpp

    r79 r87  
    138138    // TypeDef情報
    139139    //////////////////
    140     *(long *)(buffer+i2)=(int)House::typeDefs.size();
    141     i2+=sizeof(long);
    142     for(i3=0;i3<(int)House::typeDefs.size();i3++){
    143         lstrcpy(buffer+i2,House::typeDefs[i3].GetNewName().c_str() );
    144         i2+=lstrlen(buffer+i2)+1;
    145 
    146         lstrcpy(buffer+i2,House::typeDefs[i3].GetBaseName().c_str() );
     140    *(long *)(buffer+i2)=(int)House::Meta::typeDefs.size();
     141    i2+=sizeof(long);
     142    for(i3=0;i3<(int)House::Meta::typeDefs.size();i3++){
     143        lstrcpy(buffer+i2,House::Meta::typeDefs[i3].GetNewName().c_str() );
     144        i2+=lstrlen(buffer+i2)+1;
     145
     146        lstrcpy(buffer+i2,House::Meta::typeDefs[i3].GetBaseName().c_str() );
    147147        i2+=lstrlen(buffer+i2)+1;
    148148
     
    505505
    506506    //初期化
    507     House::typeDefs.clear();
     507    House::Meta::typeDefs.clear();
    508508
    509509    //個数を取得
     
    514514        i2+=lstrlen(buffer+i2)+1;
    515515
    516         House::typeDefs.push_back( TypeDef( temp5, buffer+i2 ) );
     516        House::Meta::typeDefs.push_back( TypeDef( temp5, buffer+i2 ) );
    517517
    518518        i2+=lstrlen(buffer+i2)+1;
Note: See TracChangeset for help on using the changeset viewer.