93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
return false;
objCType = self.objCType;
if (strcmp([object objCType], objCType) != 0)
return false;
size = of_sizeof_type_encoding(objCType);
value = OFAllocMemory(1, size);
@try {
otherValue = OFAllocMemory(1, size);
} @catch (id e) {
OFFreeMemory(value);
@throw e;
|
|
|
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
return false;
objCType = self.objCType;
if (strcmp([object objCType], objCType) != 0)
return false;
size = OFSizeOfTypeEncoding(objCType);
value = OFAllocMemory(1, size);
@try {
otherValue = OFAllocMemory(1, size);
} @catch (id e) {
OFFreeMemory(value);
@throw e;
|
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
}
return ret;
}
- (unsigned long)hash
{
size_t size = of_sizeof_type_encoding(self.objCType);
unsigned char *value;
unsigned long hash;
value = OFAllocMemory(1, size);
@try {
[self getValue: value size: size];
|
|
|
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
}
return ret;
}
- (unsigned long)hash
{
size_t size = OFSizeOfTypeEncoding(self.objCType);
unsigned char *value;
unsigned long hash;
value = OFAllocMemory(1, size);
@try {
[self getValue: value size: size];
|
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
|
return ret;
}
- (OFString *)description
{
OFMutableString *ret =
[OFMutableString stringWithString: @"<OFValue: "];
size_t size = of_sizeof_type_encoding(self.objCType);
unsigned char *value;
value = OFAllocMemory(1, size);
@try {
[self getValue: value size: size];
for (size_t i = 0; i < size; i++) {
|
|
|
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
|
return ret;
}
- (OFString *)description
{
OFMutableString *ret =
[OFMutableString stringWithString: @"<OFValue: "];
size_t size = OFSizeOfTypeEncoding(self.objCType);
unsigned char *value;
value = OFAllocMemory(1, size);
@try {
[self getValue: value size: size];
for (size_t i = 0; i < size; i++) {
|