py/mpconfig,ports: Define new HEX_FMT formatting macro.

Signed-off-by: Jeff Epler <jepler@gmail.com>
This commit is contained in:
Jeff Epler
2025-07-18 06:37:26 -05:00
committed by Damien George
parent 0c8d35b322
commit 7493275918
5 changed files with 7 additions and 0 deletions

View File

@@ -96,6 +96,7 @@
// This port is 64-bit
#define UINT_FMT "%lu"
#define INT_FMT "%ld"
#define HEX_FMT "%lx"
typedef signed long mp_int_t; // must be pointer size
typedef unsigned long mp_uint_t; // must be pointer size