Overview
Comment: | Blocks: Only use the lower 2 bytes as retain count |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
616b4e0dd2df21787b93acd3c39e7d27 |
User & Date: | js on 2012-11-03 22:18:56 |
Other Links: | manifest | tags |
Context
2012-11-03
| ||
22:19 | Small workaround for a Haiku bug. check-in: ac70a7059f user: js tags: trunk | |
22:18 | Blocks: Only use the lower 2 bytes as retain count check-in: 616b4e0dd2 user: js tags: trunk | |
2012-11-02
| ||
22:07 | Make -[removeLastObject] on an empty array a nop. check-in: f2a39c4f61 user: js tags: trunk | |
Changes
Modified src/OFBlock.m from [6ab3d02d2d] to [79c29da2a3].
︙ | ︙ | |||
53 54 55 56 57 58 59 | enum { OF_BLOCK_HAS_COPY_DISPOSE = (1 << 25), OF_BLOCK_HAS_CTOR = (1 << 26), OF_BLOCK_IS_GLOBAL = (1 << 28), OF_BLOCK_HAS_STRET = (1 << 29), OF_BLOCK_HAS_SIGNATURE = (1 << 30), }; | | < < | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | enum { OF_BLOCK_HAS_COPY_DISPOSE = (1 << 25), OF_BLOCK_HAS_CTOR = (1 << 26), OF_BLOCK_IS_GLOBAL = (1 << 28), OF_BLOCK_HAS_STRET = (1 << 29), OF_BLOCK_HAS_SIGNATURE = (1 << 30), }; #define OF_BLOCK_REFCOUNT_MASK 0xFFFF enum { OF_BLOCK_FIELD_IS_OBJECT = 3, OF_BLOCK_FIELD_IS_BLOCK = 7, OF_BLOCK_FIELD_IS_BYREF = 8, OF_BLOCK_FIELD_IS_WEAK = 16, OF_BLOCK_BYREF_CALLER = 128, |
︙ | ︙ |