Overview
Comment: | Use __BIGGEST_ALIGNMENT__ if available. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
03f5fe299c308ff0f5df7fb62137266e |
User & Date: | js on 2011-04-03 18:49:03 |
Other Links: | manifest | tags |
Context
2011-04-03
| ||
19:16 | We always need those includes now. check-in: 9db7215004 user: js tags: trunk | |
18:49 | Use __BIGGEST_ALIGNMENT__ if available. check-in: 03f5fe299c user: js tags: trunk | |
17:04 | Fix -[makeObjectsPerformSelector:] and friends. check-in: 9f68bba7cd user: js tags: trunk | |
Changes
Modified src/OFObject.m from [5b4c20a0f2] to [66f93123ef].
︙ | ︙ | |||
71 72 73 74 75 76 77 | int32_t retain_count; #if !defined(OF_ATOMIC_OPS) of_spinlock_t retain_spinlock; #endif }; /* Hopefully no arch needs more than 16 bytes padding */ | > > > > | > | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | int32_t retain_count; #if !defined(OF_ATOMIC_OPS) of_spinlock_t retain_spinlock; #endif }; /* Hopefully no arch needs more than 16 bytes padding */ #ifndef __BIGGEST_ALIGNMENT__ # define __BIGGEST_ALIGNMENT__ 16 #endif #define PRE_IVAR_ALIGN ((sizeof(struct pre_ivar) + \ (__BIGGEST_ALIGNMENT__ - 1)) & ~(__BIGGEST_ALIGNMENT__ - 1)) #define PRE_IVAR ((struct pre_ivar*)(void*)((char*)self - PRE_IVAR_ALIGN)) static struct { Class isa; } alloc_failed_exception; static Class autoreleasepool = Nil; |
︙ | ︙ |