ObjFW  Diff

Differences From Artifact [a8ab061699]:

To Artifact [8de83ff694]:


245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
	for (i = 0; i < dimension; i++) {
		if (i != dimension - 1)
			[description appendFormat: @"%g, ", data[i]];
		else
			[description appendFormat: @"%g)>", data[i]];
	}

	/*
	 * Class swizzle the string to be immutable. We declared the return type
	 * to be OFString*, so it can't be modified anyway. But not swizzling it
	 * would create a real copy each time -[copy] is called.
	 */
	description->isa = [OFString class];
	return description;
}

- (double*)cArray
{
	return data;
}







<
|
|
<
<
<







245
246
247
248
249
250
251

252
253



254
255
256
257
258
259
260
	for (i = 0; i < dimension; i++) {
		if (i != dimension - 1)
			[description appendFormat: @"%g, ", data[i]];
		else
			[description appendFormat: @"%g)>", data[i]];
	}


	[description makeImmutable];




	return description;
}

- (double*)cArray
{
	return data;
}