diff options
author | David Thompson <dthompson2@worcester.edu> | 2020-12-15 17:39:01 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2020-12-15 17:39:01 -0500 |
commit | 5b965d180a1f536affd51ffc2b51d5e90fbc362d (patch) | |
tree | a29771be30da5e6d7dd84be58bbcbffe49d4b98b /sdl2/bindings.scm | |
parent | 80dd0c8e510f57774e4ec4c2246108259bb26b4d (diff) |
Add SDL_GetPerformanceCounter and SDL_GetPerformanceFrequency bindings.
Diffstat (limited to 'sdl2/bindings.scm')
-rw-r--r-- | sdl2/bindings.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sdl2/bindings.scm b/sdl2/bindings.scm index 373f3aa..a9fa17c 100644 --- a/sdl2/bindings.scm +++ b/sdl2/bindings.scm @@ -1007,6 +1007,12 @@ RETURN-TYPE and accept arguments of ARG-TYPES." (define-foreign sdl-get-ticks uint32 "SDL_GetTicks" '()) +(define-foreign sdl-get-performance-counter + uint64 "SDL_GetPerformanceCounter" '()) + +(define-foreign sdl-get-performance-frequency + uint64 "SDL_GetPerformanceFrequency" '()) + ;;; ;;; File I/O |