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 {
32  EN_F
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
Definition: test-integers.c:26
@ EN_C
Definition: test-integers.c:29
@ EN_B
Definition: test-integers.c:28
@ EN_D
Definition: test-integers.c:30
@ EN_F
Definition: test-integers.c:32
@ EN_E
Definition: test-integers.c:31
@ EN_A
Definition: test-integers.c:27
int main()
Definition: test-integers.c:35

libexif Generated by doxygen