Made return value descriptions more consistent across the API
This commit is contained in:
1 parent
d73c7311d5
commit
217330a7b3
24 files changed
+194
-175
No files matched your search
@@ -182,7 +182,7 @@ typedef Uint32 (SDLCALL *SDL_TimerCallback)(void *userdata, SDL_TimerID timerID,
|
||||
* \param callback the SDL_TimerCallback function to call when the specified
|
||||
* `interval` elapses.
|
||||
* \param userdata a pointer that is passed to `callback`.
|
||||
* \returns a timer ID or 0 if an error occurs; call SDL_GetError() for more
|
||||
* \returns a timer ID or 0 on failure; call SDL_GetError() for more
|
||||
* information.
|
||||
*
|
||||
* \threadsafety It is safe to call this function from any thread.
|
||||
@@ -245,7 +245,7 @@ typedef Uint64 (SDLCALL *SDL_NSTimerCallback)(void *userdata, SDL_TimerID timerI
|
||||
* \param callback the SDL_TimerCallback function to call when the specified
|
||||
* `interval` elapses.
|
||||
* \param userdata a pointer that is passed to `callback`.
|
||||
* \returns a timer ID or 0 if an error occurs; call SDL_GetError() for more
|
||||
* \returns a timer ID or 0 on failure; call SDL_GetError() for more
|
||||
* information.
|
||||
*
|
||||
* \threadsafety It is safe to call this function from any thread.
|
||||
|
||||
Reference in new issue
Block a user