Ignore:
Timestamp:
Sep 24, 2007, 3:15:09 PM (17 years ago)
Author:
dai
Message:

静的リンクライブラリ、デバッグ情報の内部形式をバイナリにした(コンパイル時間が短縮されました)。
デリゲートのベースを実装中(まだ動きません)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/Classes/System/Delegate.ab

    r337 r338  
     1Namespace System
     2
     3Class _SimpleDelegate
     4Public
     5    object As Object
     6    methodPtr As VoidPtr
     7
     8    Sub _SimpleDelegate( object As Object, methodPtr As VoidPtr )
     9        This.object = object
     10        This.methodPtr = methodPtr
     11    End Sub
     12End Class
     13
     14Class DelegateBase
     15Protected
     16    simpleDelegates As System.Collections.Generic.List<_SimpleDelegate>
     17
     18Public
     19    Sub DelegateBase()
     20        simpleDelegates = New System.Collections.Generic.List<_SimpleDelegate>()
     21    End Sub
     22    Sub Add( sd As System._SimpleDelegate )
     23        simpleDelegates.Add( sd )
     24    End Sub
     25Public
     26End Class
     27
     28
     29End Namespace
Note: See TracChangeset for help on using the changeset viewer.