mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-19 19:28:28 +00:00
Sync wiki -> headers.
This commit is contained in:
parent
01cba48d18
commit
197340ea1c
18 changed files with 291 additions and 273 deletions
|
@ -424,9 +424,11 @@ extern DECLSPEC int SDLCALL SDL_SetMemoryFunctions(SDL_malloc_func malloc_func,
|
|||
/**
|
||||
* Allocate memory aligned to a specific value
|
||||
*
|
||||
* If `alignment` is less than the size of `void *`, then it will be increased to match that.
|
||||
* If `alignment` is less than the size of `void *`, then it will be increased
|
||||
* to match that.
|
||||
*
|
||||
* The returned memory address will be a multiple of the alignment value, and the amount of memory allocated will be a multiple of the alignment value.
|
||||
* The returned memory address will be a multiple of the alignment value, and
|
||||
* the amount of memory allocated will be a multiple of the alignment value.
|
||||
*
|
||||
* The memory returned by this function must be freed with SDL_aligned_free()
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue