Changeset 46 in dev for BasicCompiler_Common/Class.cpp
- Timestamp:
- Feb 6, 2007, 1:19:17 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Class.cpp
r40 r46 181 181 182 182 183 CClass::CClass(c har *name){183 CClass::CClass(const char *name){ 184 184 memset(this,0,sizeof(CClass)); 185 185 … … 316 316 iStaticMethodNum++; 317 317 } 318 BOOL CClass::DupliCheckAll(c har *name){318 BOOL CClass::DupliCheckAll(const char *name){ 319 319 //重複チェック 320 320 … … 333 333 return 0; 334 334 } 335 BOOL CClass::DupliCheckMember(c har *name){335 BOOL CClass::DupliCheckMember(const char *name){ 336 336 //重複チェック 337 337 … … 374 374 return ppobj_StaticMethod[i]; 375 375 } 376 bool CClass::IsExistMethod( c har *name ){376 bool CClass::IsExistMethod( const char *name ){ 377 377 for( int i=0; i<iMethodNum; i++ ){ 378 378 if( lstrcmp( ppobj_Method[i]->psi->name, name ) == 0 ) return true; … … 380 380 return false; 381 381 } 382 bool CClass::IsExistStaticMethod( c har *name ){382 bool CClass::IsExistStaticMethod( const char *name ){ 383 383 for( int i=0; i<iStaticMethodNum; i++ ){ 384 384 if( lstrcmp( ppobj_StaticMethod[i]->psi->name, name ) == 0 ) return true; … … 538 538 539 539 540 int CDBClass::hash(c har *name){540 int CDBClass::hash(const char *name){ 541 541 int key; 542 542 … … 584 584 } 585 585 586 CClass *CDBClass::check(c har *name){586 CClass *CDBClass::check(const char *name){ 587 587 int key; 588 588 key=hash(name); … … 604 604 } 605 605 606 CClass *CDBClass::AddClass(c har *name,int NowLine){606 CClass *CDBClass::AddClass(const char *name,int NowLine){ 607 607 ////////////////////////////////////////////////////////////////////////// 608 608 // クラスを追加 … … 849 849 } 850 850 851 void CDBClass::GetClass_recur(c har *lpszInheritsClass){851 void CDBClass::GetClass_recur(const char *lpszInheritsClass){ 852 852 extern char *basbuf; 853 853 int i,i2,i3,sub_address,top_pos;
Note:
See TracChangeset
for help on using the changeset viewer.