Changeset 75 in dev for BasicCompiler_Common/PESchedule.cpp
- Timestamp:
- Mar 20, 2007, 4:36:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/PESchedule.cpp
r73 r75 197 197 198 198 CImportAddrSchedule::CImportAddrSchedule(){ 199 ppdi=(D ECLAREINFO**)HeapAlloc(hHeap,0,1);199 ppdi=(DllProc **)HeapAlloc(hHeap,0,1); 200 200 } 201 201 CImportAddrSchedule::~CImportAddrSchedule(){ … … 203 203 } 204 204 205 void CImportAddrSchedule::add(D ECLAREINFO *pdi){206 ppdi=(D ECLAREINFO **)HeapReAlloc(hHeap,0,ppdi,(num+1)*sizeof(DECLAREINFO*));207 ppdi[num]=p di;205 void CImportAddrSchedule::add(DllProc *pDllProc){ 206 ppdi=(DllProc **)HeapReAlloc(hHeap,0,ppdi,(num+1)*sizeof(DllProc *)); 207 ppdi[num]=pDllProc; 208 208 209 209 CSchedule::add(); … … 220 220 221 221 CSubAddrSchedule::CSubAddrSchedule(){ 222 ppsi=( SubInfo**)HeapAlloc(hHeap,0,1);222 ppsi=(UserProc **)HeapAlloc(hHeap,0,1); 223 223 pbCall=(BOOL *)HeapAlloc(hHeap,0,1); 224 224 } … … 228 228 } 229 229 230 void CSubAddrSchedule::add( SubInfo *psi,BOOL bCall){231 if(!p si) return;232 233 ppsi=( SubInfo **)HeapReAlloc(hHeap,0,ppsi,(num+1)*sizeof(SubInfo*));234 ppsi[num]=p si;230 void CSubAddrSchedule::add(UserProc *pUserProc,BOOL bCall){ 231 if(!pUserProc) return; 232 233 ppsi=(UserProc **)HeapReAlloc(hHeap,0,ppsi,(num+1)*sizeof(UserProc *)); 234 ppsi[num]=pUserProc; 235 235 pbCall=(BOOL *)HeapReAlloc(hHeap,0,pbCall,(num+1)*sizeof(BOOL)); 236 236 pbCall[num]=bCall; … … 283 283 284 284 285 286
Note:
See TracChangeset
for help on using the changeset viewer.