Ignore:
Timestamp:
Sep 29, 2007, 12:45:16 PM (17 years ago)
Author:
dai_9181
Message:

静的メソッドのデリゲートに対応

File:
1 edited

Legend:

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

    r324 r336  
    4646    }
    4747    return ( pMethod->IsVirtual() != 0 );
     48}
     49const CMethod &UserProc::GetMethod() const
     50{
     51    if( !HasParentClass() )
     52    {
     53        Jenga::Throw( "グローバル関数に対してUserProc::GetMethodメソッドが呼ばれた" );
     54    }
     55    return *pMethod;
    4856}
    4957
Note: See TracChangeset for help on using the changeset viewer.