ObjFW  Diff

Differences From Artifact [b794b10a09]:

To Artifact [59ada58b51]:


49
50
51
52
53
54
55
56
57
58

59
60
61
62
63
64
65
66
67
68
69
70
71
72
49
50
51
52
53
54
55



56

57
58
59
60


61
62
63
64
65
66
67







-
-
-
+
-




-
-







	_pointer = pointer;

	return self;
}

- (OFString*)description
{
	if (_description != nil)
		return _description;

	return [OFString stringWithFormat:
	_description = [[OFString alloc] initWithFormat:
	    @"Memory at %p was not allocated as part of object of class %@, "
	    @"thus the memory allocation was not changed! It is also possible "
	    @"that there was an attempt to free the same memory twice.",
	    _pointer, _inClass];

	return _description;
}

- (void*)pointer
{
	return _pointer;
}
@end