Changes between Version 8 and Version 9 of ObjectiveC/Messaging
- Timestamp:
- 04/21/12 15:10:36 (13 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ObjectiveC/Messaging
v8 v9 39 39 40 40 The ObjC runtime has two extra functions, `objc_msgSendSuper` and `objc_msgSendSuper_stret`, to message the super object. 41 * ['''FIXME:''' ''How do we want to handle them?''] 42 * ['''FIXME:''' ''There is no objc_msgSendSuper_fpret?''] 41 42 An obvious approach to providing calls to `super` might be: 43 * `foreign import` the class' `super` 44 * Superclass instances would be accommodated as part of the type of a method that is `foreign export`ed. 45 43 46 These functions need to get an `objc_super` struct as the first parameter, which the compiler is supposed to compute from the enclosing class definition.
