Overview
Comment: | Avoid the anonymous namespace for ObjC++ with GCC |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
35934a9594c29b81cf1a675326000d03 |
User & Date: | js on 2017-04-02 16:02:52 |
Other Links: | manifest | tags |
Context
2017-04-02
| ||
20:19 | objfw-compile: Use OBJCFLAGS for dependencies check-in: 966be5c440 user: js tags: trunk | |
16:02 | Avoid the anonymous namespace for ObjC++ with GCC check-in: 35934a9594 user: js tags: trunk | |
15:30 | Make __objc_exec_class() take a void* check-in: 4e40a57efa user: js tags: trunk | |
Changes
Modified src/OFGZIPStream.h from [b6dd03ce21] to [dc02ae5a5d].
︙ | ︙ | |||
21 22 23 24 25 26 27 | OF_ASSUME_NONNULL_BEGIN @interface OFGZIPStream: OFStream { OFStream *_stream; OFDeflateStream *_inflateStream; | | | | | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | OF_ASSUME_NONNULL_BEGIN @interface OFGZIPStream: OFStream { OFStream *_stream; OFDeflateStream *_inflateStream; enum of_gzip_stream_state { OF_GZIP_STREAM_ID1, OF_GZIP_STREAM_ID2, OF_GZIP_STREAM_COMPRESSION_METHOD, OF_GZIP_STREAM_FLAGS, OF_GZIP_STREAM_MODIFICATION_TIME, OF_GZIP_STREAM_EXTRA_FLAGS, OF_GZIP_STREAM_OS, OF_GZIP_STREAM_EXTRA_LENGTH, OF_GZIP_STREAM_EXTRA, OF_GZIP_STREAM_NAME, OF_GZIP_STREAM_COMMENT, OF_GZIP_STREAM_HEADER_CRC16, OF_GZIP_STREAM_DATA, OF_GZIP_STREAM_CRC32, OF_GZIP_STREAM_UNCOMPRESSED_SIZE } _state; enum of_gzip_stream_flags { OF_GZIP_STREAM_FLAG_TEXT = 0x01, OF_GZIP_STREAM_FLAG_HEADER_CRC16 = 0x02, OF_GZIP_STREAM_FLAG_EXTRA = 0x04, OF_GZIP_STREAM_FLAG_NAME = 0x08, OF_GZIP_STREAM_FLAG_COMMENT = 0x10 } _flags; uint8_t _extraFlags; enum of_gzip_stream_os { OF_GZIP_STREAM_OS_FAT = 0, OF_GZIP_STREAM_OS_AMIGA = 1, OF_GZIP_STREAM_OS_VMS = 2, OF_GZIP_STREAM_OS_UNIX = 3, OF_GZIP_STREAM_OS_VM_CMS = 4, OF_GZIP_STREAM_OS_ATARI_TOS = 5, OF_GZIP_STREAM_OS_HPFS = 6, |
︙ | ︙ |
Modified src/OFMD5Hash.h from [1776f49d75] to [5fcb172421].
︙ | ︙ | |||
23 24 25 26 27 28 29 | * * @brief A class which provides methods to create an MD5 hash. */ @interface OFMD5Hash: OFObject <OFCryptoHash> { uint32_t _state[4]; uint64_t _bits; | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | * * @brief A class which provides methods to create an MD5 hash. */ @interface OFMD5Hash: OFObject <OFCryptoHash> { uint32_t _state[4]; uint64_t _bits; union of_md5_hash_buffer { uint8_t bytes[64]; uint32_t words[16]; } _buffer; size_t _bufferLength; bool _calculated; } |
︙ | ︙ |
Modified src/OFRIPEMD160Hash.h from [e92777fb67] to [d03857c8ba].
︙ | ︙ | |||
23 24 25 26 27 28 29 | * * @brief A class which provides methods to create a RIPEMD-160 hash. */ @interface OFRIPEMD160Hash: OFObject <OFCryptoHash> { uint32_t _state[5]; uint64_t _bits; | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | * * @brief A class which provides methods to create a RIPEMD-160 hash. */ @interface OFRIPEMD160Hash: OFObject <OFCryptoHash> { uint32_t _state[5]; uint64_t _bits; union of_ripemd_160_hash_buffer { uint8_t bytes[64]; uint32_t words[16]; } _buffer; size_t _bufferLength; bool _calculated; } |
︙ | ︙ |
Modified src/OFSHA1Hash.h from [02b1ca9aaf] to [51d13a0a33].
︙ | ︙ | |||
23 24 25 26 27 28 29 | * * @brief A class which provides methods to create an SHA-1 hash. */ @interface OFSHA1Hash: OFObject <OFCryptoHash> { uint32_t _state[5]; uint64_t _bits; | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | * * @brief A class which provides methods to create an SHA-1 hash. */ @interface OFSHA1Hash: OFObject <OFCryptoHash> { uint32_t _state[5]; uint64_t _bits; union of_sha_1_hash_buffer { uint8_t bytes[64]; uint32_t words[80]; } _buffer; size_t _bufferLength; bool _calculated; } |
︙ | ︙ |
Modified src/OFSHA224Or256Hash.h from [57c2a33df9] to [d784642d5f].
︙ | ︙ | |||
23 24 25 26 27 28 29 | * * @brief A base class for SHA-224 and SHA-256. */ @interface OFSHA224Or256Hash: OFObject <OFCryptoHash> { uint32_t _state[8]; uint64_t _bits; | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | * * @brief A base class for SHA-224 and SHA-256. */ @interface OFSHA224Or256Hash: OFObject <OFCryptoHash> { uint32_t _state[8]; uint64_t _bits; union of_sha_224_or_256_hash_buffer { uint8_t bytes[64]; uint32_t words[64]; } _buffer; size_t _bufferLength; bool _calculated; } |
︙ | ︙ |
Modified src/OFSHA384Or512Hash.h from [a479ed6cf0] to [cfc249c62f].
︙ | ︙ | |||
23 24 25 26 27 28 29 | * * @brief A base class for SHA-384 and SHA-512. */ @interface OFSHA384Or512Hash: OFObject <OFCryptoHash> { uint64_t _state[8]; uint64_t _bits[2]; | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | * * @brief A base class for SHA-384 and SHA-512. */ @interface OFSHA384Or512Hash: OFObject <OFCryptoHash> { uint64_t _state[8]; uint64_t _bits[2]; union of_sha_384_or_512_hash_buffer { uint8_t bytes[128]; uint64_t words[80]; } _buffer; size_t _bufferLength; bool _calculated; } |
︙ | ︙ |
Modified src/OFThread.h from [15dce17cf3] to [d6804b022e].
︙ | ︙ | |||
57 58 59 60 61 62 63 | # ifdef OF_THREAD_M @public # else @private # endif of_thread_t _thread; of_thread_attr_t _attr; | | | 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | # ifdef OF_THREAD_M @public # else @private # endif of_thread_t _thread; of_thread_attr_t _attr; enum of_thread_running { OF_THREAD_NOT_RUNNING, OF_THREAD_RUNNING, OF_THREAD_WAITING_FOR_JOIN } _running; void *_pool; # ifdef OF_HAVE_BLOCKS of_thread_block_t _threadBlock; |
︙ | ︙ |
Modified src/OFXMLParser.h from [f7c8a3379f] to [c42e8d4f95].
︙ | ︙ | |||
129 130 131 132 133 134 135 | * * OFXMLParser is an event-based XML parser which calls the delegate's callbacks * as soon as it finds something, thus suitable for streams as well. */ @interface OFXMLParser: OFObject <OFStringXMLUnescapingDelegate> { id <OFXMLParserDelegate> _delegate; | | | 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | * * OFXMLParser is an event-based XML parser which calls the delegate's callbacks * as soon as it finds something, thus suitable for streams as well. */ @interface OFXMLParser: OFObject <OFStringXMLUnescapingDelegate> { id <OFXMLParserDelegate> _delegate; enum of_xml_parser_state { OF_XMLPARSER_IN_BYTE_ORDER_MARK, OF_XMLPARSER_OUTSIDE_TAG, OF_XMLPARSER_TAG_OPENED, OF_XMLPARSER_IN_PROCESSING_INSTRUCTIONS, OF_XMLPARSER_IN_TAG_NAME, OF_XMLPARSER_IN_CLOSE_TAG_NAME, OF_XMLPARSER_IN_TAG, |
︙ | ︙ |