Forráskód Böngészése

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 3 hónapja
szülő
commit
478ac0b9bf
1 módosított fájl, 4 hozzáadás és 4 törlés
  1. 4 4
      include/SDL3/SDL_asyncio.h

+ 4 - 4
include/SDL3/SDL_asyncio.h

@@ -338,10 +338,10 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WriteAsyncIO(SDL_AsyncIO *asyncio, void *pt
  * close the file immediately, then check for all results later. This function
  * will not block until the tasks have completed.
  *
- * Once this function returns non-NULL, `asyncio` is no longer valid,
- * regardless of any future outcomes. Any completed tasks might still contain
- * this pointer in their SDL_AsyncIOOutcome data, in case the app was using
- * this value to track information, but it should not be used again.
+ * Once this function returns true, `asyncio` is no longer valid, regardless
+ * of any future outcomes. Any completed tasks might still contain this
+ * pointer in their SDL_AsyncIOOutcome data, in case the app was using this
+ * value to track information, but it should not be used again.
  *
  * If this function returns false, the close wasn't started at all, and it's
  * safe to attempt to close again later.