mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-30 15:08:31 +00:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -301,9 +301,9 @@ extern SDL_DECLSPEC SDL_IOStream * SDLCALL SDL_IOFromFile(const char *file, cons
|
|||||||
*
|
*
|
||||||
* Additionally, the following properties are recognized:
|
* Additionally, the following properties are recognized:
|
||||||
*
|
*
|
||||||
* - `SDL_PROP_IOSTREAM_MEMORY_FREE_FUNC_POINTER`: if this property is set to a
|
* - `SDL_PROP_IOSTREAM_MEMORY_FREE_FUNC_POINTER`: if this property is set to
|
||||||
* non-NULL value it will be interpreted as a function of SDL_free_func type
|
* a non-NULL value it will be interpreted as a function of SDL_free_func
|
||||||
* and called with the passed `mem` pointer when closing the stream. By
|
* 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.
|
* 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.
|
* \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:
|
* Additionally, the following properties are recognized:
|
||||||
*
|
*
|
||||||
* - `SDL_PROP_IOSTREAM_MEMORY_FREE_FUNC_POINTER`: if this property is set to a
|
* - `SDL_PROP_IOSTREAM_MEMORY_FREE_FUNC_POINTER`: if this property is set to
|
||||||
* non-NULL value it will be interpreted as a function of SDL_free_func type
|
* a non-NULL value it will be interpreted as a function of SDL_free_func
|
||||||
* and called with the passed `mem` pointer when closing the stream. By
|
* 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.
|
* 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.
|
* \param mem a pointer to a read-only buffer to feed an SDL_IOStream stream.
|
||||||
|
Reference in New Issue
Block a user