mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
Don't automatically free temporary memory, let the application call SDL_FreeTemporaryMemory() when it's ready.
Also mark up all functions that return temporary memory with SDL_DECLSPEC_TEMP, to help people implementing language bindings. Fixes https://github.com/libsdl-org/SDL/issues/10378
This commit is contained in:
@@ -1298,6 +1298,7 @@ INCLUDE_FILE_PATTERNS =
|
||||
|
||||
PREDEFINED = DOXYGEN_SHOULD_IGNORE_THIS=1 \
|
||||
SDL_DECLSPEC= \
|
||||
SDL_DECLSPEC_TEMP= \
|
||||
SDLCALL= \
|
||||
_WIN32=1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user