Changes between Version 8 and Version 9 of ObjectiveC/Messaging


Ignore:
Timestamp:
Apr 21, 2012 10:10:36 PM (3 years ago)
Author:
amarqueslee
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ObjectiveC/Messaging

    v8 v9  
    3939
    4040The 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
     42An 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
    4346These functions need to get an `objc_super` struct as the first parameter, which the compiler is supposed to compute from the enclosing class definition.