Skip to content

Commit 27451cf

Browse files
Update SDL_timer.inc to 3.4.4
1 parent d71a7d7 commit 27451cf

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

units/SDL3.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ interface
9494
{$I SDL_asyncio.inc} // 3.4.4
9595
{$I SDL_surface.inc} // 3.4.4
9696
{$I SDL_video.inc} // 3.4.2
97-
{$I SDL_timer.inc} // 3.2.20
97+
{$I SDL_timer.inc} // 3.4.4
9898
{$I SDL_error.inc} // 3.4.2
9999
{$I SDL_power.inc} // 3.4.2
100100
{$I SDL_audio.inc} // 3.4.2

units/SDL_timer.inc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* This category covers measuring time elapsed (SDL_GetTicks(),
1919
* SDL_GetPerformanceCounter()), putting a thread to sleep for a certain
2020
* amount of time (SDL_Delay(), SDL_DelayNS(), SDL_DelayPrecise()), and firing
21-
* a callback function after a certain amount of time has elasped
21+
* a callback function after a certain amount of time has elapsed
2222
* (SDL_AddTimer(), etc).
2323
*
2424
* There are also useful macros to convert between time units, like
@@ -161,14 +161,18 @@ function SDL_US_TO_NS(US: Integer): Integer;
161161
function SDL_NS_TO_US(NS: Integer): Integer;
162162

163163
{*
164-
* Get the number of milliseconds since SDL library initialization.
164+
* Get the number of milliseconds that have elapsed since the SDL library
165+
* initialization.
165166
*
166-
* \returns an unsigned 64-bit value representing the number of milliseconds
167-
* since the SDL library initialized.
167+
* \returns an unsigned 64‑bit integer that represents the number of
168+
* milliseconds that have elapsed since the SDL library was
169+
* initialized (typically via a call to SDL_Init).
168170
*
169171
* \threadsafety It is safe to call this function from any thread.
170172
*
171173
* \since This function is available since SDL 3.2.0.
174+
*
175+
* \sa SDL_GetTicksNS
172176
}
173177
function SDL_GetTicks: cuint64; cdecl;
174178
external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_GetTicks' {$ENDIF} {$ENDIF};

0 commit comments

Comments
 (0)