Changeset 63 in dev for BasicCompiler32/VarList.cpp


Ignore:
Timestamp:
Feb 23, 2007, 2:12:26 AM (18 years ago)
Author:
dai_9181
Message:

CClass::GetSize、CClass::GetMemberOffsetを追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler32/VarList.cpp

    r55 r63  
    165165        }
    166166
    167         LONG_PTR offset;
    168         offset=GetSizeOfClassMember(pobj_c,pobj_c->ppobj_Member[i]->name,&i2);
     167        LONG_PTR offset = pobj_c->GetMemberOffset( pobj_c->ppobj_Member[i]->name, &i2 );
    169168
    170169        if(pobj_c->ppobj_Member[i]->SubScripts[0]!=-1){
     
    423422
    424423    for(i=0;i<psi->pobj_ParentClass->iMemberNum;i++){
    425         offset=GetSizeOfClassMember(psi->pobj_ParentClass,psi->pobj_ParentClass->ppobj_Member[i]->name,&i2);
     424        offset = psi->pobj_ParentClass->GetMemberOffset( psi->pobj_ParentClass->ppobj_Member[i]->name, &i2 );
    426425
    427426        if(psi->pobj_ParentClass->ppobj_Member[i]->SubScripts[0]!=-1){
Note: See TracChangeset for help on using the changeset viewer.