Changeset 116 in dev for BasicCompiler32/Compile_Var.cpp


Ignore:
Timestamp:
May 12, 2007, 4:34:39 PM (18 years ago)
Author:
dai_9181
Message:

暗黙的なアップキャストを可能にした

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler32/Compile_Var.cpp

    r106 r116  
    513513                CClass::RefType refType;
    514514                GetVarFormatString(temporary,tempArray,lpPtrOffset,tempMember, refType );
     515            }
     516
     517            int typeDefIndex = Smoothie::Meta::typeDefs.GetIndex( VarName );
     518            if( typeDefIndex != -1 ){
     519                // TypeDef後の型名だったとき
     520                lstrcpy( VarName, Smoothie::Meta::typeDefs[typeDefIndex].GetBaseName().c_str() );
    515521            }
    516522
Note: See TracChangeset for help on using the changeset viewer.