Ei kuvausta

types.h 595B

123456789101112131415161718192021222324
  1. #ifndef TYPES_H_
  2. #define TYPES_H_
  3. typedef unsigned char u8;
  4. typedef unsigned short int u16;
  5. typedef unsigned int u32;
  6. typedef unsigned long long int u64;
  7. typedef signed char s8;
  8. typedef signed short int s16;
  9. typedef signed int s32;
  10. typedef signed long long int s64;
  11. typedef float f32;
  12. typedef double f64;
  13. #define NULL 0x00000000
  14. #include <stddef.h>
  15. #include <stdbool.h>
  16. //#define rgb5(r,g,b) (u16)( r | ( g << 5) | ( b << 10) )
  17. #endif