Changeset 73 in dev for BasicCompiler_Common/hash.cpp
- Timestamp:
- Mar 16, 2007, 11:07:14 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/hash.cpp
r51 r73 53 53 } 54 54 55 void GetOverloadSubHash( const char *lpszName, std::vector<SUBINFO *> &subs ){ 56 extern SUBINFO *pSubInfo; 57 extern int SubInfoNum; 58 extern int cp; 59 55 void GetOverloadSubHash( const char *lpszName, std::vector<SubInfo *> &subs ){ 60 56 char name[VN_SIZE]; 61 57 … … 127 123 128 124 //格納位置を取得 129 extern S UBINFO**ppSubHash;130 S UBINFO*psi;125 extern SubInfo **ppSubHash; 126 SubInfo *psi; 131 127 psi=ppSubHash[key]; 132 128 while(psi){ … … 144 140 145 141 //オーバーロードされていない関数を取得(昔のコンパイラソースコードとの互換性保持) 146 S UBINFO*GetSubHash(const char *lpszName,BOOL bError){147 std::vector<S UBINFO*> subs;142 SubInfo *GetSubHash(const char *lpszName,BOOL bError){ 143 std::vector<SubInfo *> subs; 148 144 GetOverloadSubHash(lpszName,subs); 149 145 … … 158 154 } 159 155 160 S UBINFO*psi;156 SubInfo *psi; 161 157 psi = subs[0]; 162 158 163 159 return psi; 164 160 } 165 S UBINFO*GetMethodHash(char *ObjectName,char *MethodName,char *Parameter,BOOL bError){161 SubInfo *GetMethodHash(char *ObjectName,char *MethodName,char *Parameter,BOOL bError){ 166 162 char temporary[VN_SIZE]; 167 163 sprintf(temporary,"%s.%s",ObjectName,MethodName); 168 164 169 std::vector<S UBINFO*> subs;170 S UBINFO*psi;165 std::vector<SubInfo *> subs; 166 SubInfo *psi; 171 167 GetOverloadSubHash(temporary,subs); 172 168
Note:
See TracChangeset
for help on using the changeset viewer.