Changes between Version 3 and Version 4 of ObjectiveC/ForeignDeclarations


Ignore:
Timestamp:
Apr 21, 2012 9:47:44 PM (3 years ago)
Author:
amarqueslee
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ObjectiveC/ForeignDeclarations

    v3 v4  
    2525foreign import classConstructor objc "<constructor method name>" initializer
    2626}}}
    27 Note that for Objective-C we can get away without a separate constructor by calling methods on classes. However, it's a nice-to-have as part of bridging to OO languages. Perhaps we can also build in memory management for objects returned from these tagged constructors...
     27 Note that for Objective-C we can get away without a separate constructor by calling methods on classes. However, it's a nice-to-have as part of bridging to OO languages. Perhaps we can also build in memory management for objects returned from these tagged constructors...
    2828
    2929=== Export ===
     
    4040tycon -> ... -> IO (tycon, b)
    4141}}}
     42 At this stage, exported classes will just be subclasses of `NSObject`, with no way to call `super` methods.
    4243 * Export of a method implementation:
    4344{{{