Changes between Version 5 and Version 6 of ObjectiveC/Messaging


Ignore:
Timestamp:
Jan 13, 2009 5:55:01 AM (7 years ago)
Author:
chak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ObjectiveC/Messaging

    v5 v6  
    2222''Implementation note:'' The foreign import should arrange for a call to `sel_getUid` at program start or when an imported selector is used for the first time.  The result should be cached to speed up subsequent uses of the same selector in the same program.
    2323
    24 ''Usage note:'' To wrap imported functions handling C structs in a nice way, we define a `Foreign.Storable` instance and a convenience wrapper as usual.
     24''Usage note:'' To wrap imported functions handling C structs in a nice way, we define a `Foreign.Storable` instance and a convenience wrapper as usual in the plain C FFI.
    2525
    2626== Distinguishing the three messaging types ==