ez80 inttypes.h: Remove PRI/SCN macros for fast and least types

This commit is contained in:
YAMAMOTO Takashi 2020-11-06 08:17:36 +09:00 committed by Xiang Xiao
parent 577d72258a
commit 88489a512d

View File

@ -50,154 +50,66 @@
# define PRId16 "d"
# define PRId32 "ld"
# define PRIdLEAST8 "d"
# define PRIdLEAST16 "d"
# define PRIdLEAST32 "ld"
# define PRIdFAST8 "d"
# define PRIdFAST16 "d"
# define PRIdFAST32 "ld"
# define PRIdPTR "d"
# define PRIi8 "i"
# define PRIi16 "i"
# define PRIi32 "li"
# define PRIiLEAST8 "i"
# define PRIiLEAST16 "i"
# define PRIiLEAST32 "li"
# define PRIiFAST8 "i"
# define PRIiFAST16 "i"
# define PRIiFAST32 "li"
# define PRIiPTR "i"
# define PRIo8 "o"
# define PRIo16 "o"
# define PRIo32 "lo"
# define PRIoLEAST8 "o"
# define PRIoLEAST16 "o"
# define PRIoLEAST32 "lo"
# define PRIoFAST8 "o"
# define PRIoFAST16 "o"
# define PRIoFAST32 "lo"
# define PRIoPTR "o"
# define PRIu8 "u"
# define PRIu16 "u"
# define PRIu32 "lu"
# define PRIuLEAST8 "u"
# define PRIuLEAST16 "u"
# define PRIuLEAST32 "lu"
# define PRIuFAST8 "u"
# define PRIuFAST16 "u"
# define PRIuFAST32 "lu"
# define PRIuPTR "u"
# define PRIx8 "x"
# define PRIx16 "x"
# define PRIx32 "lx"
# define PRIxLEAST8 "x"
# define PRIxLEAST16 "x"
# define PRIxLEAST32 "lx"
# define PRIxFAST8 "x"
# define PRIxFAST16 "x"
# define PRIxFAST32 "lx"
# define PRIxPTR "x"
# define PRIX8 "X"
# define PRIX16 "X"
# define PRIX32 "lX"
# define PRIXLEAST8 "X"
# define PRIXLEAST16 "X"
# define PRIXLEAST32 "lX"
# define PRIXFAST8 "X"
# define PRIXFAST16 "X"
# define PRIXFAST32 "lX"
# define PRIXPTR "X"
# define SCNd8 "hhd"
# define SCNd16 "hd"
# define SCNd32 "ld"
# define SCNdLEAST8 "hhd"
# define SCNdLEAST16 "hd"
# define SCNdLEAST32 "ld"
# define SCNdFAST8 "hhd"
# define SCNdFAST16 "hd"
# define SCNdFAST32 "ld"
# define SCNdPTR "hd"
# define SCNi8 "hhi"
# define SCNi16 "hi"
# define SCNi32 "li"
# define SCNiLEAST8 "hhi"
# define SCNiLEAST16 "hi"
# define SCNiLEAST32 "li"
# define SCNiFAST8 "hhi"
# define SCNiFAST16 "hi"
# define SCNiFAST32 "li"
# define SCNiPTR "hi"
# define SCNo8 "hho"
# define SCNo16 "ho"
# define SCNo32 "lo"
# define SCNoLEAST8 "hho"
# define SCNoLEAST16 "ho"
# define SCNoLEAST32 "lo"
# define SCNoFAST8 "hho"
# define SCNoFAST16 "ho"
# define SCNoFAST32 "lo"
# define SCNoPTR "ho"
# define SCNu8 "hhu"
# define SCNu16 "hu"
# define SCNu32 "lu"
# define SCNuLEAST8 "hhu"
# define SCNuLEAST16 "hu"
# define SCNuLEAST32 "lu"
# define SCNuFAST8 "hhu"
# define SCNuFAST16 "hu"
# define SCNuFAST32 "lu"
# define SCNuPTR "hu"
# define SCNx8 "hhx"
# define SCNx16 "hx"
# define SCNx32 "lx"
# define SCNxLEAST8 "hhx"
# define SCNxLEAST16 "hx"
# define SCNxLEAST32 "lx"
# define SCNxFAST8 "hhx"
# define SCNxFAST16 "hx"
# define SCNxFAST32 "lx"
# define SCNxPTR "hx"
# define INT8_C(x) x
@ -214,154 +126,66 @@
# define PRId16 "d"
# define PRId32 "ld"
# define PRIdLEAST8 "d"
# define PRIdLEAST16 "d"
# define PRIdLEAST32 "ld"
# define PRIdFAST8 "d"
# define PRIdFAST16 "d"
# define PRIdFAST32 "ld"
# define PRIdPTR "d"
# define PRIi8 "i"
# define PRIi16 "i"
# define PRIi32 "li"
# define PRIiLEAST8 "i"
# define PRIiLEAST16 "i"
# define PRIiLEAST32 "li"
# define PRIiFAST8 "i"
# define PRIiFAST16 "i"
# define PRIiFAST32 "li"
# define PRIiPTR "i"
# define PRIo8 "o"
# define PRIo16 "o"
# define PRIo32 "lo"
# define PRIoLEAST8 "o"
# define PRIoLEAST16 "o"
# define PRIoLEAST32 "lo"
# define PRIoFAST8 "o"
# define PRIoFAST16 "o"
# define PRIoFAST32 "lo"
# define PRIoPTR "o"
# define PRIu8 "u"
# define PRIu16 "u"
# define PRIu32 "lu"
# define PRIuLEAST8 "u"
# define PRIuLEAST16 "u"
# define PRIuLEAST32 "lu"
# define PRIuFAST8 "u"
# define PRIuFAST16 "u"
# define PRIuFAST32 "lu"
# define PRIuPTR "u"
# define PRIx8 "x"
# define PRIx16 "x"
# define PRIx32 "lx"
# define PRIxLEAST8 "x"
# define PRIxLEAST16 "x"
# define PRIxLEAST32 "lx"
# define PRIxFAST8 "x"
# define PRIxFAST16 "x"
# define PRIxFAST32 "lx"
# define PRIxPTR "x"
# define PRIX8 "X"
# define PRIX16 "X"
# define PRIX32 "lX"
# define PRIXLEAST8 "X"
# define PRIXLEAST16 "X"
# define PRIXLEAST32 "lX"
# define PRIXFAST8 "X"
# define PRIXFAST16 "X"
# define PRIXFAST32 "lX"
# define PRIXPTR "X"
# define SCNd8 "hhd"
# define SCNd16 "hd"
# define SCNd32 "ld"
# define SCNdLEAST8 "hhd"
# define SCNdLEAST16 "hd"
# define SCNdLEAST32 "ld"
# define SCNdFAST8 "hhd"
# define SCNdFAST16 "hd"
# define SCNdFAST32 "ld"
# define SCNdPTR "d"
# define SCNi8 "hhi"
# define SCNi16 "hi"
# define SCNi32 "li"
# define SCNiLEAST8 "hhi"
# define SCNiLEAST16 "hi"
# define SCNiLEAST32 "li"
# define SCNiFAST8 "hhi"
# define SCNiFAST16 "hi"
# define SCNiFAST32 "li"
# define SCNiPTR "i"
# define SCNo8 "hho"
# define SCNo16 "ho"
# define SCNo32 "lo"
# define SCNoLEAST8 "hho"
# define SCNoLEAST16 "ho"
# define SCNoLEAST32 "lo"
# define SCNoFAST8 "hho"
# define SCNoFAST16 "ho"
# define SCNoFAST32 "lo"
# define SCNoPTR "o"
# define SCNu8 "hhu"
# define SCNu16 "hu"
# define SCNu32 "lu"
# define SCNuLEAST8 "hhu"
# define SCNuLEAST16 "hu"
# define SCNuLEAST32 "lu"
# define SCNuFAST8 "hhu"
# define SCNuFAST16 "hu"
# define SCNuFAST32 "lu"
# define SCNuPTR "u"
# define SCNx8 "hhx"
# define SCNx16 "hx"
# define SCNx32 "lx"
# define SCNxLEAST8 "hhx"
# define SCNxLEAST16 "hx"
# define SCNxLEAST32 "lx"
# define SCNxFAST8 "hhx"
# define SCNxFAST16 "hx"
# define SCNxFAST32 "lx"
# define SCNxPTR "x"
# define INT8_C(x) x