소스 검색

Sync SDL3 wiki -> header

SDL Wiki Bot 1 년 전
부모
커밋
40cb3fb74a
1개의 변경된 파일8개의 추가작업 그리고 5개의 파일을 삭제
  1. 8 5
      include/SDL3/SDL_events.h

+ 8 - 5
include/SDL3/SDL_events.h

@@ -1432,11 +1432,14 @@ extern SDL_DECLSPEC void * SDLCALL SDL_AllocateTemporaryMemory(size_t size);
 /**
  * Claim ownership of temporary memory.
  *
- * Some functions return temporary memory which SDL will automatically clean up later. Normally you won't save these results beyond the current function scope, but if you want to use them later, you can call this function to get a pointer that the application owns, and should be freed using SDL_free().
- *
- * If the memory isn't temporary, or it was returned from an SDL function called on a different thread, this
- * will return NULL, and the application does not have ownership of the
- * memory.
+ * Some functions return temporary memory which SDL will automatically clean
+ * up later. Normally you won't save these results beyond the current function
+ * scope, but if you want to use them later, you can call this function to get
+ * a pointer that the application owns, and should be freed using SDL_free().
+ *
+ * If the memory isn't temporary, or it was returned from an SDL function
+ * called on a different thread, this will return NULL, and the application
+ * does not have ownership of the memory.
  *
  * \param mem a pointer allocated with SDL_AllocateTemporaryMemory().
  * \returns a pointer to the memory now owned by the application, which must