Changeset 84 in dev for BasicCompiler_Common/ParamImpl.cpp
- Timestamp:
- Mar 29, 2007, 3:28:28 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/ParamImpl.cpp
r78 r84 151 151 } 152 152 else{ 153 if(NATURAL_TYPE(argType.GetBasicType())==DEF_OBJECT || NATURAL_TYPE(argType.GetBasicType())==DEF_STRUCT){ 153 //if(NATURAL_TYPE(argType.GetBasicType())==DEF_OBJECT || NATURAL_TYPE(argType.GetBasicType())==DEF_STRUCT){ 154 if( NATURAL_TYPE(argType.GetBasicType())==DEF_STRUCT){ 154 155 if(argType.GetIndex()!=param.GetIndex()){ 156 return false; 157 } 158 } 159 else if( NATURAL_TYPE(argType.GetBasicType())==DEF_OBJECT ){ 160 if( !param.GetClass().IsEqualsOrSubClass( &argType.GetClass() ) ){ 155 161 return false; 156 162 }
Note:
See TracChangeset
for help on using the changeset viewer.