SDL/src/core
Ryan C. Gordon 25024ea295 windows: Before SDL_main has run, use WideCharToMultibyte, not SDL_iconv.
Otherwise, this will crash if the app sets its own SDL_malloc allocator, since
SDL_iconv uses SDL_malloc.

WideCharToMultibyte lets us calculate the needed memory for the argv[] string
conversions, and then we use the win32 HeapAlloc() API to get some memory
for it.

Fixes #8967.
2024-05-22 20:08:15 -04:00
..
android Removed the SDL_Version structure, moved SDL version to SDL.h 2024-05-15 10:43:31 -07:00
freebsd cmake: add -Wimplicit-fallthrough warning 2024-03-18 20:34:50 +01:00
gdk windows: Before SDL_main has run, use WideCharToMultibyte, not SDL_iconv. 2024-05-22 20:08:15 -04:00
haiku thread: Reworked SDL_CreateThread to be consistent across platforms. 2024-05-22 11:39:43 -04:00
linux Fixed memory leak cleaning up mouse and keyboard instances 2024-05-07 09:26:18 -07:00
n3ds Renamed DECLSPEC to SDL_DECLSPEC 2024-05-17 17:09:09 -07:00
ngage Renamed DECLSPEC to SDL_DECLSPEC 2024-05-17 17:09:09 -07:00
openbsd Added SDL_GetKeyboardName() and SDL_GetMouseName() 2024-03-23 16:31:00 -07:00
ps2 Renamed DECLSPEC to SDL_DECLSPEC 2024-05-17 17:09:09 -07:00
psp Renamed DECLSPEC to SDL_DECLSPEC 2024-05-17 17:09:09 -07:00
unix Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
windows windows: Before SDL_main has run, use WideCharToMultibyte, not SDL_iconv. 2024-05-22 20:08:15 -04:00
winrt Renamed DECLSPEC to SDL_DECLSPEC 2024-05-17 17:09:09 -07:00
SDL_core_unsupported.c Renamed DECLSPEC to SDL_DECLSPEC 2024-05-17 17:09:09 -07:00
SDL_runapp.c Renamed DECLSPEC to SDL_DECLSPEC 2024-05-17 17:09:09 -07:00