Function

method_copyReturnType

Returns a string describing a method's return type.

Declaration

char * method_copyReturnType(Method m);

Parameters

method

The method to inspect.

Return Value

A C string describing the return type. You must free the string with free().

See Also

Working with Methods

method_invoke

Calls the implementation of a specified method.

method_invoke_stret

Calls the implementation of a specified method that returns a data-structure.

method_getName

Returns the name of a method.

method_getImplementation

Returns the implementation of a method.

method_getTypeEncoding

Returns a string describing a method's parameter and return types.

method_copyArgumentType

Returns a string describing a single parameter type of a method.

method_getReturnType

Returns by reference a string describing a method's return type.

method_getNumberOfArguments

Returns the number of arguments accepted by a method.

method_getArgumentType

Returns by reference a string describing a single parameter type of a method.

method_getDescription

Returns a method description structure for a specified method.

method_setImplementation

Sets the implementation of a method.

method_exchangeImplementations

Exchanges the implementations of two methods.