Changeset 38 in dev for BasicCompiler_Common/Subroutine.cpp
- Timestamp:
- Jan 22, 2007, 11:38:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Subroutine.cpp
r31 r38 222 222 return 1; 223 223 } 224 225 //インデクサ(getter)の戻り値を取得 226 bool GetReturnTypeOfIndexerGetterProc(CClass *pobj_Class,TYPEINFO &RetTypeInfo){ 227 SUBINFO **ppsi; 228 int num; 229 ppsi=pobj_Class->GetOperatorSubInfo(CALC_ARRAY_GET,num); 230 if(num==0){ 231 HeapDefaultFree(ppsi); 232 233 return false; 234 } 235 236 RetTypeInfo.type = ppsi[0]->ReturnType; 237 RetTypeInfo.u.lpIndex = ppsi[0]->u.ReturnIndex; 238 239 HeapDefaultFree(ppsi); 240 241 return true; 242 } 243 224 244 225 245 void AddDeclareData(char *buffer,int NowLine){
Note:
See TracChangeset
for help on using the changeset viewer.