SDL/src/filesystem
Ryan C. Gordon e23257307e Introduce formal policy for APIs that return strings.
This declares that any `const char *` returned from SDL is owned by SDL, and
promises to be valid _at least_ until the next time the event queue runs, or
SDL_Quit() is called, even if the thing that owns the string gets destroyed
or changed before then.

This is noted in the headers as "the SDL_GetStringRule", so this will both be
greppable to find a detailed explaination in docs/README-strings.md and
wikiheaders will automatically turn it into a link we can point at the
appropriate documentation.

Fixes #9902.

(and several FIXMEs, both known and yet-undocumented.)
2024-06-03 14:20:49 -04:00
..
android Updated copyright for 2024 2024-01-01 13:15:26 -08:00
cocoa Add '/' to GetUserFolder(HOME) on Cocoa & Unix 2024-05-02 08:51:58 -07:00
dummy filesystem: Rename some internal symbols to remove "FSops" terminology. 2024-03-17 14:20:11 -04:00
emscripten Add trailing path separator to SDL_GetUserFolder() 2024-04-30 18:01:16 -07:00
gdk Fixed building with GDK (thanks @Romans-I-XVI!) 2024-04-30 10:22:56 -07:00
haiku Add trailing path separator to SDL_GetUserFolder() 2024-04-30 18:01:16 -07:00
n3ds Updated copyright for 2024 2024-01-01 13:15:26 -08:00
posix Simplified SDL_SYS_RemovePath() 2024-03-21 21:16:14 -07:00
ps2 Updated copyright for 2024 2024-01-01 13:15:26 -08:00
psp Updated copyright for 2024 2024-01-01 13:15:26 -08:00
riscos Updated copyright for 2024 2024-01-01 13:15:26 -08:00
unix Add '/' to GetUserFolder(HOME) on Cocoa & Unix 2024-05-02 08:51:58 -07:00
vita Updated copyright for 2024 2024-01-01 13:15:26 -08:00
windows Fixed SDL_GetPathInfo() return value on Windows 2024-05-10 16:01:54 -07:00
winrt Introduce formal policy for APIs that return strings. 2024-06-03 14:20:49 -04:00
SDL_filesystem.c Added SDL_GlobFlags 2024-05-14 07:13:35 -07:00
SDL_sysfilesystem.h Added SDL_GlobFlags 2024-05-14 07:13:35 -07:00