Ignore:
Timestamp:
Mar 11, 2008, 4:02:38 PM (16 years ago)
Author:
dai_9181
Message:

_System_Newに対応(32bit版のみ)。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/src/Class.cpp

    r417 r431  
    13261326
    13271327    char temporary[8192];
    1328     sprintf(temporary, "%c%ctempType=Nothing%c%cTypeBaseImpl"
     1328    sprintf(temporary, "%c%ctempType=Nothing%c%c_System_TypeForClass"
    13291329        , HIBYTE( COM_DIM )
    13301330        , LOBYTE( COM_DIM )
     
    13471347        if( objClass.HasSuperClass() || objClass.GetDynamicMembers().size() ){
    13481348            sprintf( temporary
    1349                 , "tempType=Search(\"%s\")"
     1349                , "tempType=Search(\"%s\") As ActiveBasic.Core._System_TypeForClass"
    13501350                , objClass.GetFullName().c_str()
     1351            );
     1352
     1353            // コンパイル
     1354            MakeMiddleCode( temporary );
     1355            ChangeOpcode( temporary );
     1356
     1357            sprintf( temporary
     1358                , "tempType.SetClassInfo(%d,_System_GetComVtbl(%s),_System_GetVtblList(%s),_System_GetDefaultConstructor(%s),_System_GetDestructor(%s))"
     1359                , objClass.GetSize()
     1360                , objClass.GetFullName().c_str()
     1361                , objClass.GetFullName().c_str()
     1362                , objClass.GetFullName().c_str()
     1363                , objClass.GetFullName().c_str()
     1364                , objClass.GetName().c_str()
    13511365            );
    13521366
Note: See TracChangeset for help on using the changeset viewer.