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
..
2024-06-03 10:55:14 -07:00
2024-05-22 00:41:09 +00:00
2024-06-03 14:20:49 -04:00
2024-05-17 17:09:09 -07:00
2024-05-16 11:48:23 -04:00
2024-05-17 17:09:09 -07:00
2024-06-03 14:20:49 -04:00
2024-05-17 17:09:09 -07:00
2024-05-16 11:48:23 -04:00
2024-05-16 11:48:23 -04:00
2024-05-17 17:09:09 -07:00
2024-05-22 14:26:50 -04:00
2024-05-16 11:48:23 -04:00
2024-05-16 11:48:23 -04:00
2024-06-03 14:20:49 -04:00
2024-05-27 08:06:13 -07:00
2024-05-17 17:09:09 -07:00
2024-06-03 14:20:49 -04:00
2024-05-17 17:09:09 -07:00
2024-06-03 14:20:49 -04:00
2024-05-20 16:46:41 +00:00
2024-06-03 14:20:49 -04:00
2024-05-17 17:09:09 -07:00
2024-05-16 11:48:23 -04:00
2024-05-17 17:09:09 -07:00
2024-06-03 14:20:49 -04:00
2024-06-03 14:20:49 -04:00
2024-05-16 11:48:23 -04:00
2024-05-17 17:09:09 -07:00
2024-05-17 17:09:09 -07:00
2024-05-17 17:09:09 -07:00
2024-05-14 13:30:42 -04:00
2024-05-27 20:04:46 +00:00
2024-05-17 17:09:09 -07:00
2024-05-17 17:09:09 -07:00
2024-05-17 17:09:09 -07:00
2024-06-03 14:20:49 -04:00
2024-05-27 02:00:01 +00:00
2024-06-01 22:32:43 -04:00
2023-02-04 10:02:10 +03:00
2024-05-16 11:48:23 -04:00
2022-11-26 22:15:18 -08:00
2022-11-26 22:15:18 -08:00
2022-11-26 22:15:18 -08:00
2022-11-26 22:15:18 -08:00
2024-05-16 11:48:23 -04:00
2024-05-16 11:48:23 -04:00
2024-06-03 14:20:49 -04:00
2024-06-03 14:20:49 -04:00
2024-05-27 14:34:21 -07:00
2024-06-03 14:20:49 -04:00
2024-05-17 17:09:09 -07:00
2024-06-03 14:20:49 -04:00
2024-05-17 17:09:09 -07:00
2024-06-03 14:20:49 -04:00
2024-05-16 11:48:23 -04:00
2024-05-16 11:48:23 -04:00
2024-06-03 14:20:49 -04:00
2024-06-01 22:35:40 +03:00
2024-05-17 17:09:09 -07:00
2024-05-27 02:00:01 +00:00
2024-06-03 14:20:49 -04:00
2024-05-16 11:48:23 -04:00
2024-05-28 11:52:31 -07:00
2024-04-15 03:05:05 -10:00
2024-05-16 11:48:23 -04:00
2024-04-09 00:50:02 -04:00
2024-05-16 11:48:23 -04:00
2024-04-09 00:50:02 -04:00
2024-01-01 13:15:26 -08:00
2024-03-10 09:04:18 -07:00
2024-01-01 13:15:26 -08:00
2024-03-10 09:04:18 -07:00
2024-01-01 13:15:26 -08:00
2024-06-03 14:20:49 -04:00
2024-05-17 17:09:09 -07:00
2024-05-27 14:58:03 +00:00
2024-06-03 14:20:49 -04:00
2024-06-03 14:20:49 -04:00
2024-06-03 14:20:49 -04:00
2024-05-17 17:09:09 -07:00
2024-05-15 14:38:29 -07:00