Function 関数

objc_msgSendSuper_stret

Sends a message with a data-structure return value to the superclass of an instance of a class.

Declaration 宣言

void objc_msgSendSuper_stret(void);

Parameters パラメータ

super

A pointer to an objc_super data structure. Pass values identifying the context the message was sent to, including the instance of the class that is to receive the message and the superclass at which to start searching for the method implementation.

op

A pointer of type SEL. Pass the selector of the method.

...

A variable argument list containing the arguments to the method.

Discussion 解説

When it encounters a method call, the compiler generates a call to one of the functions objc_msgSend, objc_msgSend_stret, objc_msgSendSuper, or objc_msgSendSuper_stret. Messages sent to an object’s superclass (using the super keyword) are sent using objc_msgSendSuper; other messages are sent using objc_msgSend. Methods that have data structures as return values are sent using objc_msgSendSuper_stret and objc_msgSend_stret.

See Also 参照

Sending Messages メッセージ送信