Ignore:
Timestamp:
Mar 20, 2007, 4:36:16 AM (17 years ago)
Author:
dai_9181
Message:

TYPEINFO→Typeへのリファクタリングを実施。64bitはほぼ完了。32bitが全般的に未完成。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/PESchedule.cpp

    r73 r75  
    197197
    198198CImportAddrSchedule::CImportAddrSchedule(){
    199     ppdi=(DECLAREINFO **)HeapAlloc(hHeap,0,1);
     199    ppdi=(DllProc **)HeapAlloc(hHeap,0,1);
    200200}
    201201CImportAddrSchedule::~CImportAddrSchedule(){
     
    203203}
    204204
    205 void CImportAddrSchedule::add(DECLAREINFO *pdi){
    206     ppdi=(DECLAREINFO **)HeapReAlloc(hHeap,0,ppdi,(num+1)*sizeof(DECLAREINFO *));
    207     ppdi[num]=pdi;
     205void CImportAddrSchedule::add(DllProc *pDllProc){
     206    ppdi=(DllProc **)HeapReAlloc(hHeap,0,ppdi,(num+1)*sizeof(DllProc *));
     207    ppdi[num]=pDllProc;
    208208
    209209    CSchedule::add();
     
    220220
    221221CSubAddrSchedule::CSubAddrSchedule(){
    222     ppsi=(SubInfo **)HeapAlloc(hHeap,0,1);
     222    ppsi=(UserProc **)HeapAlloc(hHeap,0,1);
    223223    pbCall=(BOOL *)HeapAlloc(hHeap,0,1);
    224224}
     
    228228}
    229229
    230 void CSubAddrSchedule::add(SubInfo *psi,BOOL bCall){
    231     if(!psi) return;
    232 
    233     ppsi=(SubInfo **)HeapReAlloc(hHeap,0,ppsi,(num+1)*sizeof(SubInfo *));
    234     ppsi[num]=psi;
     230void 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;
    235235    pbCall=(BOOL *)HeapReAlloc(hHeap,0,pbCall,(num+1)*sizeof(BOOL));
    236236    pbCall[num]=bCall;
     
    283283
    284284
     285
     286
Note: See TracChangeset for help on using the changeset viewer.