Differences From Artifact [f4d9610474]:
- File
src/OFObject.m
— part of check-in
[2f5af58573]
at
2014-02-13 23:26:17
on branch trunk
— Use -std=c11 instead of -std=gnu11
Not using -std=gnu11 means _GNU_SOURCE does not get defined anymore,
therefore this commit also adds the required feature defines for glibc.Additionally, this adds of_strdup in macros.h, as strdup is an
extension. (user: js, size: 24093) [annotate] [blame] [check-ins using]
To Artifact [f3bed53382]:
- File src/OFObject.m — part of check-in [1ecef2d7f6] at 2014-03-30 00:30:35 on branch trunk — ObjFW-RT: Call +[unload] on class unregister (user: js, size: 24113) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
239 240 241 242 243 244 245 246 247 248 249 250 251 252 | #else struct timeval t; gettimeofday(&t, NULL); srand((unsigned)(t.tv_sec ^ t.tv_usec)); of_hash_seed = (uint32_t)((rand() << 16) | (rand() & 0xFFFF)); #endif } + (void)initialize { } + alloc { | > > > > | 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 | #else struct timeval t; gettimeofday(&t, NULL); srand((unsigned)(t.tv_sec ^ t.tv_usec)); of_hash_seed = (uint32_t)((rand() << 16) | (rand() & 0xFFFF)); #endif } + (void)unload { } + (void)initialize { } + alloc { |
︙ | ︙ |