Btw. Following files are using WinUAE functions from maccess.h, which
take uae_u* types and give them to SDL functions:
-----------------------------------------------
$ git grep -l -e do_put_mem_ -e do_get_mem_ -e do_byteswap_ | grep -v
src/cpu/
src/debug/68kDisass.c
src/gemdos.c
src/includes/ioMem.h
src/msa.c
src/stMemory.c
src/video.c
-----------------------------------------------
But only these use the intended uae_u* types:
-----------------------------------------------
$ git grep -l uae_u | grep -v src/cpu
src/ide.c
src/includes/ide.h
src/includes/ioMem.h
src/includes/m68000.h
src/includes/stMemory.h
src/ioMem.c
src/m68000.c
src/memorySnapShot.c
src/ncr5380.c
-----------------------------------------------
In case of WinUAE CPU core functions, using its own types could make
more sense, because unlike SDL ones, those functions are lacking a
prefix that could be used to easily find them all.
But I think Hatari is unlikely to change from WinUAE to something else,
so IMHO using C99 stdint.h types for those is fine too.