1 /* 2 * Copyright (c) 2008 Travis Geiselbrecht 3 * 4 * Use of this source code is governed by a MIT-style 5 * license that can be found in the LICENSE file or at 6 * https://opensource.org/licenses/MIT 7 */ 8 #pragma once 9 10 #define PRId8 "hhd" 11 #define PRIi8 "hhi" 12 #define PRIo8 "hho" 13 #define PRIu8 "hhu" 14 #define PRIx8 "hhx" 15 #define PRIX8 "hhX" 16 17 #define PRId16 "hd" 18 #define PRIi16 "hi" 19 #define PRIo16 "ho" 20 #define PRIu16 "hu" 21 #define PRIx16 "hx" 22 #define PRIX16 "hX" 23 24 #define PRId32 "d" 25 #define PRIi32 "i" 26 #define PRIo32 "o" 27 #define PRIu32 "u" 28 #define PRIx32 "x" 29 #define PRIX32 "X" 30 31 #define PRId64 "lld" 32 #define PRIi64 "lli" 33 #define PRIo64 "llo" 34 #define PRIu64 "llu" 35 #define PRIx64 "llx" 36 #define PRIX64 "llX" 37 38 #define PRIdPTR "ld" 39 #define PRIiPTR "li" 40 #define PRIoPTR "lo" 41 #define PRIuPTR "lu" 42 #define PRIxPTR "lx" 43 #define PRIXPTR "lX" 44 45 #include <stdint.h> 46 47