int_sizes.h

00001 #ifndef __STDC_FORMAT_MACROS
00002 #define __STDC_FORMAT_MACROS
00003 #endif
00004 
00005 #include <inttypes.h>
00006 /* Eventually this file should disappear, and only inttypes.h should be used.*/
00007 
00008 #ifndef INT_SIZES_H
00009 #define INT_SIZES_H
00010 
00011 #define INT8_T   int8_t
00012 #define INT16_T  int16_t
00013 #define INT32_T  int32_t
00014 #define INT64_T  int64_t
00015 #define PTRINT_T intptr_t
00016 #define INTPTR_T intptr_t
00017 
00018 #define INT8_FORMAT  "%" PRId8
00019 #define INT16_FORMAT "%" PRId16
00020 #define INT32_FORMAT "%" PRId32
00021 #define INT64_FORMAT "%" PRId64
00022 #define PTR_FORMAT   "%" PRIxPTR
00023 
00024 #define UINT8_T   uint8_t
00025 #define UINT16_T  uint16_t
00026 #define UINT32_T  uint32_t
00027 #define UINT64_T  uint64_t
00028 #define UPTRINT_T uintptr_t
00029 #define UINTPTR_T uintptr_t
00030 
00031 #define UINT8_FORMAT  "%" PRIu8
00032 #define UINT16_FORMAT "%" PRIu16
00033 #define UINT32_FORMAT "%" PRIu32
00034 #define UINT64_FORMAT "%" PRIu64
00035 #define UPTR_FORMAT   "%" UPRIxPTR
00036 
00037 #endif

Generated on 2 Apr 2015 for cctools by  doxygen 1.4.7