Function

method_getArgumentType(_:_:_:_:)

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

Declaration

func method_getArgumentType(_ m: Method!, _ index: UInt32, _ dst: UnsafeMutablePointer<Int8>!, _ dst_len: Int)

Discussion

The parameter type string is copied to dst. dst is filled as if strncpy(dst, parameter_type, dst_len) were called. If the method contains no parameter with that index, dst is filled as if strncpy(dst, "", dst_len) were called.