Differences From Artifact [b8c56f759a]:
- File tests/OFBlockTests.m — part of check-in [917e9dff1f] at 2012-04-03 18:42:52 on branch runtime — Fix includes in OFBlockTests for ObjFW runtime. (user: js, size: 2136) [annotate] [blame] [check-ins using] [more...]
To Artifact [7a082a1b83]:
- File
tests/OFBlockTests.m
— part of check-in
[120caad331]
at
2012-11-30 16:09:39
on branch trunk
— Make runtime API more similar to Apple's.
This makes it easier to use runtime functions in portable code. (user: js, size: 2067) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
21 22 23 24 25 26 27 | #import "OFAutoreleasePool.h" #if defined(OF_OBJFW_RUNTIME) # include "runtime.h" #elif defined(OF_APPLE_RUNTIME) # include <objc/runtime.h> #endif | < < < | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #import "OFAutoreleasePool.h" #if defined(OF_OBJFW_RUNTIME) # include "runtime.h" #elif defined(OF_APPLE_RUNTIME) # include <objc/runtime.h> #endif #import "TestsAppDelegate.h" static OFString *module = @"OFBlock"; extern void *_NSConcreteStackBlock; extern void *_NSConcreteGlobalBlock; |
︙ | ︙ |