SDL/src/core
Sam Lantinga 4f55271571 Removed temporary memory from the API
It was intended to make the API easier to use, but various automatic garbage collection all had flaws, and making the application periodically clean up temporary memory added cognitive load to using the API, and in many cases was it was difficult to restructure threaded code to handle this.

So, we're largely going back to the original system, where the API returns allocated results and you free them.

In addition, to solve the problems we originally wanted temporary memory for:
* Short strings with a finite count, like device names, get stored in a per-thread string pool.
* Events continue to use temporary memory internally, which is cleaned up on the next event processing cycle.
2024-07-26 20:59:14 -07:00
..
android Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
freebsd Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 2024-07-17 14:09:11 -07:00
gdk GDK build: move suspend/constrain setup back to previous compilation unit 2024-07-25 11:35:10 +03:00
haiku haiku: No more chdir to executable's directory at startup in SDL3. 2024-07-13 12:24:27 -04:00
linux Rename functions in SDL_system.h to match SDL 3.0 naming convention 2024-07-15 16:27:48 -07:00
openbsd Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 2024-07-17 14:09:11 -07:00
unix Make SDL_URIToLocal available to multiple platforms 2024-07-20 12:39:18 -04:00
windows Fix UWP build in non-UNICODE mode 2024-07-19 10:21:34 +00:00
winrt Renamed driverdata to internal 2024-07-16 17:17:13 -07:00
SDL_core_unsupported.c GDK build: fix project settings and API changes 2024-07-25 11:35:10 +03:00