Changeset 116 in dev for BasicCompiler64/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
  • BasicCompiler64/Compile_Var.cpp

    r107 r116  
    537537                CClass::RefType refType;
    538538                GetVarFormatString(temporary,tempArray,lpPtrOffset,tempMember, refType );
     539            }
     540
     541            int typeDefIndex = Smoothie::Meta::typeDefs.GetIndex( VarName );
     542            if( typeDefIndex != -1 ){
     543                // TypeDef後の型名だったとき
     544                lstrcpy( VarName, Smoothie::Meta::typeDefs[typeDefIndex].GetBaseName().c_str() );
    539545            }
    540546
Note: See TracChangeset for help on using the changeset viewer.