Sync SDL3 wiki -> header
This commit is contained in:
@@ -91,8 +91,9 @@ void *alloca(size_t);
|
|||||||
/**
|
/**
|
||||||
* The number of elements in an array.
|
* The number of elements in an array.
|
||||||
*
|
*
|
||||||
* NOTE: This macro double-evaluates the argument, so you should never have side effects in the parameter.
|
* NOTE: This macro double-evaluates the argument, so you should never have
|
||||||
*
|
* side effects in the parameter.
|
||||||
|
*
|
||||||
* \since This macro is available since SDL 3.0.0.
|
* \since This macro is available since SDL 3.0.0.
|
||||||
*/
|
*/
|
||||||
#define SDL_arraysize(array) (sizeof(array)/sizeof(array[0]))
|
#define SDL_arraysize(array) (sizeof(array)/sizeof(array[0]))
|
||||||
|
|||||||
Reference in New Issue
Block a user