mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -5339,9 +5339,9 @@ SDL_FORCE_INLINE bool SDL_size_mul_check_overflow_builtin(size_t a, size_t b, si
|
||||
/**
|
||||
* Add two integers, checking for overflow.
|
||||
*
|
||||
* If `a + b` would overflow, return -1.
|
||||
* If `a + b` would overflow, return false.
|
||||
*
|
||||
* Otherwise store `a + b` via ret and return 0.
|
||||
* Otherwise store `a + b` via ret and return true.
|
||||
*
|
||||
* \param a the first addend.
|
||||
* \param b the second addend.
|
||||
|
Reference in New Issue
Block a user