method_copyArgumentType(_:_:)
Returns a string describing a single parameter type of a method.
Declaration
func method_copyArgumentType(_ m: Method, _ index: UInt32) -> UnsafeMutablePointer<CChar>?Parameters
- m:
The method to inspect.
- index:
The index of the parameter to inspect.
Return Value
A C string describing the type of the parameter at index index, or NULL if method has no parameter index index. You must free the string with free().