49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
+
+
|
@property (readonly, nonatomic) size_t frameLength;
/**
* @brief Creates a new OFMethodSignature with the specified ObjC types.
*
* @param types The ObjC types of the method
* @return A new, autoreleased OFMethodSignature
* @throw OFInvalidFormatException The type encoding is invalid
*/
+ (instancetype)signatureWithObjCTypes: (const char *)types;
/**
* @brief Initializes an already allocated OFMethodSignature with the specified
* ObjC types.
*
* @param types The ObjC types of the method
* @return An Initialized OFMethodSignature
* @throw OFInvalidFormatException The type encoding is invalid
*/
- (instancetype)initWithObjCTypes: (const char *)types;
/**
* @brief Returns the ObjC type for the argument at the specified index.
*
* @param index The index of the argument for which to return the ObjC type
|
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
+
+
|
extern "C" {
#endif
/**
* @brief Returns the size for the specified type encoding.
*
* @param type The type encoding to return the size for
* @return The size for the specified type encoding
* @throw OFInvalidFormatException The type encoding is invalid
*/
extern size_t OFSizeOfTypeEncoding(const char *type);
/**
* @brief Returns the alignment for the specified type encoding.
*
* @param type The type encoding to return the alignment for
* @return The alignment for the specified type encoding
* @throw OFInvalidFormatException The type encoding is invalid
*/
extern size_t OFAlignmentOfTypeEncoding(const char *type);
#ifdef __cplusplus
}
#endif
OF_ASSUME_NONNULL_END
|