summaryrefslogtreecommitdiff
path: root/sdl2/bindings.scm
diff options
context:
space:
mode:
Diffstat (limited to 'sdl2/bindings.scm')
-rw-r--r--sdl2/bindings.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/sdl2/bindings.scm b/sdl2/bindings.scm
index 138d4fc..25b3576 100644
--- a/sdl2/bindings.scm
+++ b/sdl2/bindings.scm
@@ -192,3 +192,11 @@ RETURN-TYPE and accept arguments of ARG-TYPES."
(define-foreign sdl-gl-swap-window
void "SDL_GL_SwapWindow" '(*))
+
+
+;;;
+;;; Timer
+;;;
+
+(define-foreign sdl-get-ticks
+ uint32 "SDL_GetTicks" '())