Overview
Comment: | Add more _Nonnull to make Clang 4.0 happy |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b56ef2c4153853a1555128e09f56b66e |
User & Date: | js on 2017-01-06 23:59:38 |
Other Links: | manifest | tags |
Context
2017-01-07
| ||
00:09 | OFNumber: Make description locale-compatible check-in: df5e33bec7 user: js tags: trunk | |
2017-01-06
| ||
23:59 | Add more _Nonnull to make Clang 4.0 happy check-in: b56ef2c415 user: js tags: trunk | |
23:42 | Several minor style fixes check-in: ae340607fd user: js tags: trunk | |
Changes
Modified src/OFApplication.h from [1366008f73] to [1f75d12ec4].
︙ | ︙ | |||
187 188 189 190 191 192 193 | /*! * @brief Gets args and argv. * * @param argc A pointer where a pointer to argc should be stored * @param argv A pointer where a pointer to argv should be stored */ - (void)getArgumentCount: (int *_Nonnull *_Nonnull)argc | | | 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | /*! * @brief Gets args and argv. * * @param argc A pointer where a pointer to argc should be stored * @param argv A pointer where a pointer to argv should be stored */ - (void)getArgumentCount: (int *_Nonnull *_Nonnull)argc andArgumentValues: (char *_Nonnull *_Nonnull *_Nonnull[_Nonnull])argv; /*! * @brief Returns the delegate of the application. * * @return The delegate of the application */ - (nullable id <OFApplicationDelegate>)delegate; |
︙ | ︙ | |||
219 220 221 222 223 224 225 | */ - (void)terminateWithStatus: (int)status OF_NO_RETURN; @end #ifdef __cplusplus extern "C" { #endif | | | | 219 220 221 222 223 224 225 226 227 228 229 230 231 232 | */ - (void)terminateWithStatus: (int)status OF_NO_RETURN; @end #ifdef __cplusplus extern "C" { #endif extern int of_application_main(int *_Nonnull, char *_Nonnull *_Nonnull[_Nonnull], Class); #ifdef __cplusplus } #endif OF_ASSUME_NONNULL_END |
Modified src/OFTarArchiveEntry+Private.h from [4afb4b0429] to [0e47e3f96a].
︙ | ︙ | |||
15 16 17 18 19 20 21 | */ #import "OFTarArchiveEntry.h" OF_ASSUME_NONNULL_BEGIN @interface OFTarArchiveEntry () | | | 15 16 17 18 19 20 21 22 23 24 25 26 27 | */ #import "OFTarArchiveEntry.h" OF_ASSUME_NONNULL_BEGIN @interface OFTarArchiveEntry () - (instancetype)OF_initWithHeader: (char[_Nonnull 512])header stream: (OFStream*)stream; - (void)OF_skip; @end OF_ASSUME_NONNULL_END |
Modified src/scrypt.h from [939a710287] to [dff79e3776].
︙ | ︙ | |||
28 29 30 31 32 33 34 | /*! @file */ @class OFHMAC; #ifdef __cplusplus extern "C" { #endif | | | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | /*! @file */ @class OFHMAC; #ifdef __cplusplus extern "C" { #endif extern void of_salsa20_8_core(uint32_t buffer[_Nonnull 16]); extern void of_scrypt_block_mix(uint32_t *output, const uint32_t *input, size_t blockSize); extern void of_scrypt_romix(uint32_t *buffer, size_t blockSize, size_t costFactor, uint32_t *tmp); extern void of_scrypt(size_t blockSize, size_t costFactor, size_t parallelization, const unsigned char *salt, size_t saltLength, const char *password, size_t passwordLength, unsigned char *key, size_t keyLength); #ifdef __cplusplus } #endif OF_ASSUME_NONNULL_END |