Changeset 131 in dev for BasicCompiler_Common/Type.cpp
- Timestamp:
- Jun 4, 2007, 7:49:17 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Type.cpp
r128 r131 243 243 // オブジェクト 244 244 if(basicType==DEF_OBJECT){ 245 if( GetClass().IsInterface() ){ 246 // vtblOffsetのサイズを含める 247 return PTR_SIZE*2; 248 } 245 249 return PTR_SIZE; 246 250 } … … 433 437 { 434 438 if( basicType == DEF_OBJECT ){ 435 if( lstrcmp( pClass->name,"Object")==0){439 if( pClass->GetName() == "Object" ){ 436 440 return true; 437 441 } … … 442 446 { 443 447 if( basicType == DEF_OBJECT ){ 444 if( lstrcmp( pClass->name,"String")==0){448 if( pClass->GetName() == "String" ){ 445 449 return true; 446 450 } … … 486 490 487 491 if( !( index == 0 || index == -1 ) ){ 488 return pClass-> name;492 return pClass->GetName(); 489 493 } 490 494 }
Note:
See TracChangeset
for help on using the changeset viewer.