ObjFW  Check-in [208e94917e]

Overview
Comment:Make the GNU runtime happy by not comparing isa directly.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 208e94917e2c961079a49bab69b7cd6f6c2b7154d2f1e2ab8849ac5666fb4403
User & Date: js on 2011-06-13 00:55:20
Other Links: manifest | tags
Context
2011-06-13
00:59
Add a note about -[OFDataArray cArray]. check-in: 32660bf70f user: js tags: trunk
00:55
Make the GNU runtime happy by not comparing isa directly. check-in: 208e94917e user: js tags: trunk
00:10
Add OFFloatMatrix. check-in: 4276459937 user: js tags: trunk
Changes

Modified src/OFFloatMatrix.m from [da8c7b7372] to [81cca6b06a].

168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
	return columns;
}

- (BOOL)isEqual: (id)object
{
	OFFloatMatrix *otherMatrix;

	if (object->isa != isa)
		return NO;

	otherMatrix = object;

	if (otherMatrix->rows != rows || otherMatrix->columns != columns)
		return NO;








|







168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
	return columns;
}

- (BOOL)isEqual: (id)object
{
	OFFloatMatrix *otherMatrix;

	if (![object isKindOfClass: [OFFloatMatrix class]])
		return NO;

	otherMatrix = object;

	if (otherMatrix->rows != rows || otherMatrix->columns != columns)
		return NO;

Modified src/OFFloatVector.m from [24150756a9] to [3b46b56f41].

132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
	return dimension;
}

- (BOOL)isEqual: (id)object
{
	OFFloatVector *otherVector;

	if (object->isa != isa)
		return NO;

	otherVector = object;

	if (otherVector->dimension != dimension)
		return NO;








|







132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
	return dimension;
}

- (BOOL)isEqual: (id)object
{
	OFFloatVector *otherVector;

	if (![object isKindOfClass: [OFFloatVector class]])
		return NO;

	otherVector = object;

	if (otherVector->dimension != dimension)
		return NO;