ObjFW  Diff

Differences From Artifact [cd55eac12e]:

To Artifact [c923eabd0c]:

  • File src/crc32.h — part of check-in [c5b3c8ea87] at 2017-05-14 14:18:26 on branch trunk — Add nullability annotations to remaining headers

    This explicitly excludes threading.h, as adding nullability annotations
    requires adding them everywhere in the file. However, the types in there
    are implementation defined, and might be pointers or not: Adding none
    when it's a pointer would be an error, and adding one when it's not a
    pointer would be an error, too. (user: js, size: 893) [annotate] [blame] [check-ins using]


22
23
24
25
26
27
28
29

30
31
32
#endif

#import "macros.h"

#ifdef __cplusplus
extern "C" {
#endif
extern uint32_t of_crc32(uint32_t crc, unsigned char *bytes, size_t length);

#ifdef __cplusplus
}
#endif







|
>



22
23
24
25
26
27
28
29
30
31
32
33
#endif

#import "macros.h"

#ifdef __cplusplus
extern "C" {
#endif
extern uint32_t of_crc32(uint32_t crc, unsigned char *_Nonnull bytes,
    size_t length);
#ifdef __cplusplus
}
#endif