README-migration: fix function signature on SDL_(Read|Write)IO docs.

main
Ryan C. Gordon 2024-03-31 16:43:53 -04:00
parent 6b20152bda
commit 74b58aebb9
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 2 additions and 2 deletions

View File

@ -1180,8 +1180,8 @@ size_t SDL_RWwrite(SDL_RWops *context, const void *ptr, size_t size, size_t maxn
But now they look more like POSIX: But now they look more like POSIX:
```c ```c
size_t SDL_ReadIO(void *userdata, void *ptr, size_t size); size_t SDL_ReadIO(SDL_IOStream *context, void *ptr, size_t size);
size_t SDL_WriteIO(void *userdata, const void *ptr, size_t size); size_t SDL_WriteIO(SDL_IOStream *context, const void *ptr, size_t size);
``` ```
Code that used to look like this: Code that used to look like this: