Differences From Artifact [9d1bddfff6]:
- File
src/OFObject.m
— part of check-in
[029511474c]
at
2009-02-14 17:26:12
on branch trunk
— Always use #include for libc headers due to glibc being broken.
Do the same for win32 headers, just in case. They should work with
#import, but you never know ;). (user: js, size: 4800) [annotate] [blame] [check-ins using]
To Artifact [091b00dab8]:
- File src/OFObject.m — part of check-in [d9308adc2b] at 2009-02-15 16:40:43 on branch trunk — Get rid of OFComparable and make it part of OFObject. (user: js, size: 5033) [annotate] [blame] [check-ins using]
︙ | |||
67 68 69 70 71 72 73 74 75 76 77 78 79 80 | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | + + + + + + + + + + + + | return self; } - (size_t)retainCount { return __retain_count; } - (BOOL)isEqual: (id)obj { /* Classes containing data should reimplement this! */ return (self == obj ? YES : NO); } - (uint32_t)hash { /* Classes containing data should reimplement this! */ return (uint32_t)self & 0xFFFFFF; } - addToMemoryPool: (void*)ptr { void **memchunks; size_t memchunks_size; memchunks_size = __memchunks_size + 1; |
︙ |