44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
_arguments = [[OFMutableArray alloc] init];
for (size_t i = 0; i < numberOfArguments; i++) {
OFMutableData *data;
typeEncoding = [_methodSignature
argumentTypeAtIndex: i];
typeSize = of_sizeof_type_encoding(typeEncoding);
data = [OFMutableData dataWithItemSize: typeSize
capacity: 1];
[data increaseCountBy: 1];
[_arguments addObject: data];
}
typeEncoding = _methodSignature.methodReturnType;
typeSize = of_sizeof_type_encoding(typeEncoding);
if (typeSize > 0) {
_returnValue = [[OFMutableData alloc]
initWithItemSize: typeSize
capacity: 1];
[_returnValue increaseCountBy: 1];
}
|
|
|
|
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
_arguments = [[OFMutableArray alloc] init];
for (size_t i = 0; i < numberOfArguments; i++) {
OFMutableData *data;
typeEncoding = [_methodSignature
argumentTypeAtIndex: i];
typeSize = OFSizeOfTypeEncoding(typeEncoding);
data = [OFMutableData dataWithItemSize: typeSize
capacity: 1];
[data increaseCountBy: 1];
[_arguments addObject: data];
}
typeEncoding = _methodSignature.methodReturnType;
typeSize = OFSizeOfTypeEncoding(typeEncoding);
if (typeSize > 0) {
_returnValue = [[OFMutableData alloc]
initWithItemSize: typeSize
capacity: 1];
[_returnValue increaseCountBy: 1];
}
|