Changeset 27 in dev for BasicCompiler_Common/Class.cpp
- Timestamp:
- Jan 7, 2007, 6:51:20 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Class.cpp
r18 r27 308 308 return ppobj_StaticMethod[i]; 309 309 } 310 bool CClass::IsExistMethod( char *name ){ 311 for( int i=0; i<iMethodNum; i++ ){ 312 if( lstrcmp( ppobj_Method[i]->psi->name, name ) == 0 ) return true; 313 } 314 return false; 315 } 316 bool CClass::IsExistStaticMethod( char *name ){ 317 for( int i=0; i<iStaticMethodNum; i++ ){ 318 if( lstrcmp( ppobj_StaticMethod[i]->psi->name, name ) == 0 ) return true; 319 } 320 return false; 321 } 322 310 323 311 324 LONG_PTR CClass::AddVtblDataTable(SUBINFO **ppsi,int length){ … … 677 690 //メンバ関数 678 691 for(i=0;i<pobj_c->iMethodNum;i++){ 679 // スーパークラスと重複する場合はオーバーライドを行う692 //基底クラスと重複する場合はオーバーライドを行う 680 693 if(pobj_c->ppobj_Method[i]->pobj_InheritsClass) continue; 681 694
Note:
See TracChangeset
for help on using the changeset viewer.