Changeset 95 in dev for BasicCompiler32/MakePeHdr.cpp


Ignore:
Timestamp:
Apr 15, 2007, 1:34:02 AM (17 years ago)
Author:
dai_9181
Message:

RegisterGlobalRootsの自動生成に対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler32/MakePeHdr.cpp

    r91 r95  
    88// 特殊関数の構造体ポインタ
    99////////////////////////////
     10
     11// グローバル関数、静的メソッド
    1012UserProc
    1113    *pSub_System_StartupProgram,
     
    3840   
    3941    *pSub_esp_error;
     42
     43// 動的メソッド
     44UserProc
     45    *pUserProc_System_CGarbageCollection_RegisterGlobalRoots;
    4046
    4147
     
    250256        pSubStaticMethod_System_TypeBase_InitializeUserTypes->Using();
    251257        pSubStaticMethod_System_TypeBase_InitializeUserTypes->ThisIsAutoGenerationProc();
     258    }
     259
     260    if( pUserProc_System_CGarbageCollection_RegisterGlobalRoots = GetClassMethod( "_System_CGarbageCollection", "RegisterGlobalRoots" ) ){
     261        pUserProc_System_CGarbageCollection_RegisterGlobalRoots->Using();
     262        pUserProc_System_CGarbageCollection_RegisterGlobalRoots->ThisIsAutoGenerationProc();
    252263    }
    253264
Note: See TracChangeset for help on using the changeset viewer.