From 10fe8ef9f8a5bc839eb9b4ebcf0ac2b3c01a9963 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 9 Dec 2021 16:19:28 +0100 Subject: timer: correct naming convention --- sdl2/timer.ha | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sdl2/timer.ha') diff --git a/sdl2/timer.ha b/sdl2/timer.ha index da958b6..1b315ec 100644 --- a/sdl2/timer.ha +++ b/sdl2/timer.ha @@ -4,7 +4,7 @@ // // Returns an unsigned 32-bit value representing the number of milliseconds // since the SDL library initialized. -export @symbol("SDL_GetTicks") fn getticks() u32; +export @symbol("SDL_GetTicks") fn get_ticks() u32; // Get the current value of the high resolution counter. // @@ -15,12 +15,12 @@ export @symbol("SDL_GetTicks") fn getticks() u32; // [[getperformancefrequency]]. // // Returns the current counter value. -export @symbol("SDL_GetPerformanceCounter") fn getperformancecounter() u64; +export @symbol("SDL_GetPerformanceCounter") fn get_performance_counter() u64; // Get the count per second of the high resolution counter. // // Returns a platform-specific count per second. -export @symbol("SDL_GetPerformanceFrequency") fn getperformancefrequency() u64; +export @symbol("SDL_GetPerformanceFrequency") fn get_performance_frequency() u64; // Wait a specified number of milliseconds before returning. // -- cgit v1.2.3