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<CChar>?, 
                          _ 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.

See Also 参照

Working with Methods メソッドを扱う