EXIF library (libexif) Internals
0.6.26
test-integers.c
Go to the documentation of this file.
1
25
#include "libexif/_stdint.h"
26
#include <assert.h>
27
28
typedef
enum
{
29
EN_A
,
30
EN_B
,
31
EN_C
,
32
EN_D
,
33
EN_E
,
34
EN_F
35
}
enum_t
;
36
37
int
main
(
void
)
38
{
39
/* libexif assumes unsigned ints are not smaller than 32bit in many places */
40
assert(
sizeof
(
unsigned
int
) >=
sizeof
(uint32_t));
41
42
/* libexif assumes that enums fit into ints */
43
assert(
sizeof
(
enum_t
) <=
sizeof
(
int
));
44
45
return
0;
46
}
enum_t
enum_t
Definition
test-integers.c:28
EN_C
@ EN_C
Definition
test-integers.c:31
EN_B
@ EN_B
Definition
test-integers.c:30
EN_D
@ EN_D
Definition
test-integers.c:32
EN_F
@ EN_F
Definition
test-integers.c:34
EN_E
@ EN_E
Definition
test-integers.c:33
EN_A
@ EN_A
Definition
test-integers.c:29
main
int main(void)
Definition
test-integers.c:37
libexif
Generated by