12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #include "MRCBase.h"
- #include "test.h"
- #if __has_feature(objc_arc_weak)
- bool supportsMRCWeak = true;
- #else
- bool supportsMRCWeak = false;
- #endif
- @interface MRCBase () {
- @private
- double DOUBLEWORD_ALIGNED alignment;
- uintptr_t pad[3];
- double number;
- id object;
- void *pointer;
- #if __has_feature(objc_arc_weak)
- __weak
- #endif
- id delegate;
- }
- @end
- @implementation MRCBase
- @synthesize number, object, pointer, delegate;
- @end
- extern id __attribute__((ns_returns_retained))
- docopy(id obj)
- {
- return object_copy(obj, 0);
- }
|