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