SDL/src/sensor
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 thread: Reworked SDL_CreateThread to be consistent across platforms. 2024-05-22 11:39:43 -04:00
coremotion Updated copyright for 2024 2024-01-01 13:15:26 -08:00
dummy Updated copyright for 2024 2024-01-01 13:15:26 -08:00
n3ds Updated copyright for 2024 2024-01-01 13:15:26 -08:00
vita Updated copyright for 2024 2024-01-01 13:15:26 -08:00
windows Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_sensor.c Introduce formal policy for APIs that return strings. 2024-06-03 14:20:49 -04:00
SDL_sensor_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_syssensor.h Prevent crashes if freed objects are passed to SDL API functions 2024-06-03 08:54:46 -07:00