Differences From Artifact [0891ba3248]:
- File src/runtime/protocol.m — part of check-in [cfd374b906] at 2015-01-03 20:57:18 on branch trunk — Update copyright (user: js, size: 2020) [annotate] [blame] [check-ins using]
To Artifact [dd73b09ef7]:
- File
src/runtime/protocol.m
— part of check-in
[9b5445fd7e]
at
2015-05-05 10:26:51
on branch trunk
— runtime/protocol.m: Remove __gnu_inline__
Instead, let the compiler decide whether to inline these. (user: js, size: 1942) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
20 21 22 23 24 25 26 | #import "runtime.h" #import "runtime-private.h" @implementation Protocol @end | | | | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #import "runtime.h" #import "runtime-private.h" @implementation Protocol @end const char* protocol_getName(Protocol *p) { return p->name; } bool protocol_isEqual(Protocol *a, Protocol *b) { return (strcmp(protocol_getName(a), protocol_getName(b)) == 0); } bool protocol_conformsToProtocol(Protocol *a, Protocol *b) |
︙ | ︙ |