Overview
Comment: | Use a typedef for NSFastEnumerationState
This fixes building as a module. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
4c09929cca9e891c8b37699c25732f04 |
User & Date: | js on 2022-04-25 15:34:42 |
Other Links: | manifest | tags |
Context
2022-04-25
| ||
16:12 | OFLockFailedException: Add missing nullable check-in: 16bdabb65c user: js tags: trunk | |
15:34 | Use a typedef for NSFastEnumerationState check-in: 4c09929cca user: js tags: trunk | |
13:09 | Remove OFMemoryNotPartOfObjectException check-in: 5ee9765356 user: js tags: trunk | |
Changes
Modified src/OFEnumerator.h from [553d9ef899] to [514f228b0c].
︙ | ︙ | |||
46 47 48 49 50 51 52 | * this as well. */ /** * @struct OFFastEnumerationState OFEnumerator.h ObjFW/OFEnumerator.h * * @brief State information for fast enumerations. */ | < < > > | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | * this as well. */ /** * @struct OFFastEnumerationState OFEnumerator.h ObjFW/OFEnumerator.h * * @brief State information for fast enumerations. */ typedef struct { /** Arbitrary state information for the enumeration */ unsigned long state; /** Pointer to a C array of objects to return */ id __unsafe_unretained _Nullable *_Nullable itemsPtr; /** Arbitrary state information to detect mutations */ unsigned long *_Nullable mutationsPtr; /** Additional arbitrary state information */ unsigned long extra[5]; } OFFastEnumerationState; #ifndef NSINTEGER_DEFINED typedef OFFastEnumerationState NSFastEnumerationState; #endif /** * @protocol OFFastEnumeration OFEnumerator.h ObjFW/OFEnumerator.h * * @brief A protocol for fast enumeration. * |
︙ | ︙ |