File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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;
161161function 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 }
173177function SDL_GetTicks : cuint64; cdecl;
174178 external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_GetTicks' { $ENDIF} { $ENDIF} ;
You can’t perform that action at this time.
0 commit comments