瀏覽代碼

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 5 天之前
父節點
當前提交
55e14a2ced
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      include/SDL3/SDL_iostream.h

+ 6 - 6
include/SDL3/SDL_iostream.h

@@ -301,9 +301,9 @@ extern SDL_DECLSPEC SDL_IOStream * SDLCALL SDL_IOFromFile(const char *file, cons
  *
  * Additionally, the following properties are recognized:
  *
- * - `SDL_PROP_IOSTREAM_MEMORY_FREE_FUNC_POINTER`: if this property is set to a
- *   non-NULL value it will be interpreted as a function of SDL_free_func type
- *   and called with the passed `mem` pointer when closing the stream. By
+ * - `SDL_PROP_IOSTREAM_MEMORY_FREE_FUNC_POINTER`: if this property is set to
+ *   a non-NULL value it will be interpreted as a function of SDL_free_func
+ *   type and called with the passed `mem` pointer when closing the stream. By
  *   default it is unset, i.e., the memory will not be freed.
  *
  * \param mem a pointer to a buffer to feed an SDL_IOStream stream.
@@ -354,9 +354,9 @@ extern SDL_DECLSPEC SDL_IOStream * SDLCALL SDL_IOFromMem(void *mem, size_t size)
  *
  * Additionally, the following properties are recognized:
  *
- * - `SDL_PROP_IOSTREAM_MEMORY_FREE_FUNC_POINTER`: if this property is set to a
- *   non-NULL value it will be interpreted as a function of SDL_free_func type
- *   and called with the passed `mem` pointer when closing the stream. By
+ * - `SDL_PROP_IOSTREAM_MEMORY_FREE_FUNC_POINTER`: if this property is set to
+ *   a non-NULL value it will be interpreted as a function of SDL_free_func
+ *   type and called with the passed `mem` pointer when closing the stream. By
  *   default it is unset, i.e., the memory will not be freed.
  *
  * \param mem a pointer to a read-only buffer to feed an SDL_IOStream stream.