Function 関数

method_invoke

Calls the implementation of a specified method.

Declaration 宣言

void method_invoke(void);

Parameters パラメータ

receiver

A pointer to the instance of the class that you want to invoke the method on. This value must not be nil.

m

The method whose implementation you want to call.

...

A variable argument list containing the arguments to the method.

Return Value 戻り値

The return value of the method.

Discussion 解説

Using this function to call the implementation of a method is faster than calling method_getImplementation and method_getName.

See Also 参照

Working with Methods メソッドを扱う