Added SDL_crc16() to be used in joystick GUIDs after 2.24.0

This commit is contained in:
Sam Lantinga 2022-08-11 09:52:58 -07:00
parent a1e34b5e35
commit b4c4dd84c2
7 changed files with 60 additions and 2 deletions

View file

@ -503,6 +503,7 @@ extern DECLSPEC int SDLCALL SDL_isgraph(int x);
extern DECLSPEC int SDLCALL SDL_toupper(int x);
extern DECLSPEC int SDLCALL SDL_tolower(int x);
extern DECLSPEC Uint16 SDLCALL SDL_crc16(Uint16 crc, const void *data, size_t len);
extern DECLSPEC Uint32 SDLCALL SDL_crc32(Uint32 crc, const void *data, size_t len);
extern DECLSPEC void *SDLCALL SDL_memset(SDL_OUT_BYTECAP(len) void *dst, int c, size_t len);