Differences From Artifact [110335b983]:
- File
src/OFObject.m
— part of check-in
[543eb96c02]
at
2016-03-28 23:43:39
on branch trunk
— Style consistency changes
Multiline preprocessor directives now always indent the continued lines
by 4 spaces. The only exception are defines that define to code blocks:
Those are still indented by a tab in order to align with the rest of the
code. (user: js, size: 24554) [annotate] [blame] [check-ins using]
To Artifact [bfe47061e0]:
- File src/OFObject.m — part of check-in [2a2e17d8d0] at 2016-05-06 20:39:56 on branch trunk — Enable -Wsign-compare (user: js, size: 24572) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
383 384 385 386 387 388 389 | if ([self isSubclassOfClass: class]) return; #if defined(OF_OBJFW_RUNTIME) for (struct objc_method_list *methodlist = object_getClass(class)->methodlist; methodlist != NULL; methodlist = methodlist->next) { | | | | 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 | if ([self isSubclassOfClass: class]) return; #if defined(OF_OBJFW_RUNTIME) for (struct objc_method_list *methodlist = object_getClass(class)->methodlist; methodlist != NULL; methodlist = methodlist->next) { for (unsigned int i = 0; i < methodlist->count; i++) { SEL selector = (SEL)&methodlist->methods[i].sel; /* * Don't replace methods implemented in the receiving * class. */ if ([self methodForSelector: selector] != [superclass methodForSelector: selector]) continue; [self replaceClassMethod: selector withMethodFromClass: class]; } } for (struct objc_method_list *methodlist = class->methodlist; methodlist != NULL; methodlist = methodlist->next) { for (unsigned int i = 0; i < methodlist->count; i++) { SEL selector = (SEL)&methodlist->methods[i].sel; /* * Don't replace methods implemented in the receiving * class. */ if ([self instanceMethodForSelector: selector] != |
︙ | ︙ |